Merge branch 'x86/vt-d' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu...
[cascardo/linux.git] / drivers / usb / storage / unusual_uas.h
1 /* Driver for USB Attached SCSI devices - Unusual Devices File
2  *
3  *   (c) 2013 Hans de Goede <hdegoede@redhat.com>
4  *
5  * Based on the same file for the usb-storage driver, which is:
6  *   (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
7  *   (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU General Public License as published by the
11  * Free Software Foundation; either version 2, or (at your option) any
12  * later version.
13  *
14  * This program is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License along
20  * with this program; if not, write to the Free Software Foundation, Inc.,
21  * 675 Mass Ave, Cambridge, MA 02139, USA.
22  */
23
24 /*
25  * IMPORTANT NOTE: This file must be included in another file which defines
26  * a UNUSUAL_DEV macro before this file is included.
27  */
28
29 /*
30  * If you edit this file, please try to keep it sorted first by VendorID,
31  * then by ProductID.
32  *
33  * If you want to add an entry for this file, be sure to include the
34  * following information:
35  *      - a patch that adds the entry for your device, including your
36  *        email address right above the entry (plus maybe a brief
37  *        explanation of the reason for the entry),
38  *      - lsusb -v output for the device
39  * Send your submission to Hans de Goede <hdegoede@redhat.com>
40  * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
41  */
42
43 /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
44 UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999,
45                 "Seagate",
46                 "Expansion Desk",
47                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
48                 US_FL_NO_ATA_1X),
49
50 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
51 UNUSUAL_DEV(0x0bc2, 0x3312, 0x0000, 0x9999,
52                 "Seagate",
53                 "Expansion Desk",
54                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
55                 US_FL_NO_ATA_1X),
56
57 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
58 UNUSUAL_DEV(0x0bc2, 0x3320, 0x0000, 0x9999,
59                 "Seagate",
60                 "Expansion Desk",
61                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
62                 US_FL_NO_ATA_1X),
63
64 /* Reported-by: Bogdan Mihalcea <bogdan.mihalcea@infim.ro> */
65 UNUSUAL_DEV(0x0bc2, 0xa003, 0x0000, 0x9999,
66                 "Seagate",
67                 "Backup Plus",
68                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
69                 US_FL_NO_ATA_1X),
70
71 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
72 UNUSUAL_DEV(0x0bc2, 0xab20, 0x0000, 0x9999,
73                 "Seagate",
74                 "Backup+ BK",
75                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
76                 US_FL_NO_ATA_1X),
77
78 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
79 UNUSUAL_DEV(0x0bc2, 0xab21, 0x0000, 0x9999,
80                 "Seagate",
81                 "Backup+ BK",
82                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
83                 US_FL_NO_ATA_1X),
84
85 /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
86 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
87                 "JMicron",
88                 "JMS567",
89                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
90                 US_FL_NO_REPORT_OPCODES),
91
92 /* Most ASM1051 based devices have issues with uas, blacklist them all */
93 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
94 UNUSUAL_DEV(0x174c, 0x5106, 0x0000, 0x9999,
95                 "ASMedia",
96                 "ASM1051",
97                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
98                 US_FL_IGNORE_UAS),
99
100 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
101 UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
102                 "VIA",
103                 "VL711",
104                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
105                 US_FL_NO_ATA_1X),
106
107 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
108 UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
109                 "Hitachi",
110                 "External HDD",
111                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
112                 US_FL_IGNORE_UAS),