]> asedeno.scripts.mit.edu Git - linux.git/blob - drivers/usb/storage/unusual_uas.h
ASoC: fsl_asrc: protect macro argument
[linux.git] / drivers / usb / storage / unusual_uas.h
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Driver for USB Attached SCSI devices - Unusual Devices File
4  *
5  *   (c) 2013 Hans de Goede <hdegoede@redhat.com>
6  *
7  * Based on the same file for the usb-storage driver, which is:
8  *   (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
9  *   (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
10  */
11
12 /*
13  * IMPORTANT NOTE: This file must be included in another file which defines
14  * a UNUSUAL_DEV macro before this file is included.
15  */
16
17 /*
18  * If you edit this file, please try to keep it sorted first by VendorID,
19  * then by ProductID.
20  *
21  * If you want to add an entry for this file, be sure to include the
22  * following information:
23  *      - a patch that adds the entry for your device, including your
24  *        email address right above the entry (plus maybe a brief
25  *        explanation of the reason for the entry),
26  *      - lsusb -v output for the device
27  * Send your submission to Hans de Goede <hdegoede@redhat.com>
28  * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
29  */
30
31 /*
32  * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
33  * commands in UAS mode.  Observed with the 1.28 firmware; are there others?
34  */
35 UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
36                 "Apricorn",
37                 "",
38                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
39                 US_FL_IGNORE_UAS),
40
41 /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
42 UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999,
43                 "Seagate",
44                 "Expansion Desk",
45                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
46                 US_FL_NO_ATA_1X),
47
48 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
49 UNUSUAL_DEV(0x0bc2, 0x3312, 0x0000, 0x9999,
50                 "Seagate",
51                 "Expansion Desk",
52                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
53                 US_FL_NO_ATA_1X),
54
55 /* Reported-by: David Webb <djw@noc.ac.uk> */
56 UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
57                 "Seagate",
58                 "Expansion Desk",
59                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60                 US_FL_NO_REPORT_LUNS),
61
62 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
63 UNUSUAL_DEV(0x0bc2, 0x3320, 0x0000, 0x9999,
64                 "Seagate",
65                 "Expansion Desk",
66                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67                 US_FL_NO_ATA_1X),
68
69 /* Reported-by: Bogdan Mihalcea <bogdan.mihalcea@infim.ro> */
70 UNUSUAL_DEV(0x0bc2, 0xa003, 0x0000, 0x9999,
71                 "Seagate",
72                 "Backup Plus",
73                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
74                 US_FL_NO_ATA_1X),
75
76 /* Reported-by: Marcin ZajÄ…czkowski <mszpak@wp.pl> */
77 UNUSUAL_DEV(0x0bc2, 0xa013, 0x0000, 0x9999,
78                 "Seagate",
79                 "Backup Plus",
80                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
81                 US_FL_NO_ATA_1X),
82
83 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
84 UNUSUAL_DEV(0x0bc2, 0xa0a4, 0x0000, 0x9999,
85                 "Seagate",
86                 "Backup Plus Desk",
87                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
88                 US_FL_NO_ATA_1X),
89
90 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
91 UNUSUAL_DEV(0x0bc2, 0xab20, 0x0000, 0x9999,
92                 "Seagate",
93                 "Backup+ BK",
94                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
95                 US_FL_NO_ATA_1X),
96
97 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
98 UNUSUAL_DEV(0x0bc2, 0xab21, 0x0000, 0x9999,
99                 "Seagate",
100                 "Backup+ BK",
101                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
102                 US_FL_NO_ATA_1X),
103
104 /* Reported-by: G. Richard Bellamy <rbellamy@pteradigm.com> */
105 UNUSUAL_DEV(0x0bc2, 0xab2a, 0x0000, 0x9999,
106                 "Seagate",
107                 "BUP Fast HDD",
108                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
109                 US_FL_NO_ATA_1X),
110
111 /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
112 UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
113                 "Initio Corporation",
114                 "INIC-3069",
115                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
116                 US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
117
118 /* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
119 UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
120                 "JMicron",
121                 "JMS539",
122                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
123                 US_FL_NO_REPORT_OPCODES),
124
125 /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
126 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
127                 "JMicron",
128                 "JMS567",
129                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
130                 US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
131
132 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
133 UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
134                 "VIA",
135                 "VL711",
136                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
137                 US_FL_NO_ATA_1X),
138
139 /* Reported-by: Takeo Nakayama <javhera@gmx.com> */
140 UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
141                 "JMicron",
142                 "JMS566",
143                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
144                 US_FL_NO_REPORT_OPCODES),
145
146 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
147 UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
148                 "Hitachi",
149                 "External HDD",
150                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
151                 US_FL_IGNORE_UAS),
152
153 /* Reported-by: Richard Henderson <rth@redhat.com> */
154 UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
155                 "SimpleTech",
156                 "External HDD",
157                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
158                 US_FL_NO_REPORT_OPCODES),