net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
[linux/fpc-iii.git] / drivers / usb / storage / unusual_uas.h
blobdcdfcdfd2ad134a7fa5b9bec590a34ae1d9b9435
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Driver for USB Attached SCSI devices - Unusual Devices File
5 * (c) 2013 Hans de Goede <hdegoede@redhat.com>
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.
13 * IMPORTANT NOTE: This file must be included in another file which defines
14 * a UNUSUAL_DEV macro before this file is included.
18 * If you edit this file, please try to keep it sorted first by VendorID,
19 * then by ProductID.
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>
31 /* Reported-by: Till Dörges <doerges@pre-sense.de> */
32 UNUSUAL_DEV(0x054c, 0x087d, 0x0000, 0x9999,
33 "Sony",
34 "PSZ-HA*",
35 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
36 US_FL_NO_REPORT_OPCODES),
38 /* Reported-by: Julian Groß <julian.g@posteo.de> */
39 UNUSUAL_DEV(0x059f, 0x105f, 0x0000, 0x9999,
40 "LaCie",
41 "2Big Quadra USB3",
42 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
43 US_FL_NO_REPORT_OPCODES),
46 * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
47 * commands in UAS mode. Observed with the 1.28 firmware; are there others?
49 UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
50 "Apricorn",
51 "",
52 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
53 US_FL_IGNORE_UAS),
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),
62 /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
63 UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
64 "Initio Corporation",
65 "INIC-3069",
66 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
69 /* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
70 UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
71 "JMicron",
72 "JMS539",
73 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
74 US_FL_NO_REPORT_OPCODES),
76 /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
77 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
78 "JMicron",
79 "JMS567",
80 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
81 US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
83 /* Reported-by: David Kozub <zub@linux.fjfi.cvut.cz> */
84 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
85 "JMicron",
86 "JMS567",
87 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
88 US_FL_BROKEN_FUA),
90 /* Reported-by: Thinh Nguyen <thinhn@synopsys.com> */
91 UNUSUAL_DEV(0x154b, 0xf00d, 0x0000, 0x9999,
92 "PNY",
93 "Pro Elite SSD",
94 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
95 US_FL_NO_ATA_1X),
97 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
98 UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
99 "VIA",
100 "VL711",
101 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
102 US_FL_NO_ATA_1X),
104 /* Reported-by: Icenowy Zheng <icenowy@aosc.io> */
105 UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
106 "Norelsys",
107 "NS1068X",
108 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
109 US_FL_IGNORE_UAS),
112 * Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
113 * UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
115 UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
116 "JMicron",
117 "JMS566",
118 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
119 US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
121 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
122 UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
123 "Hitachi",
124 "External HDD",
125 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
126 US_FL_IGNORE_UAS),
128 /* Reported-by: Richard Henderson <rth@redhat.com> */
129 UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
130 "SimpleTech",
131 "External HDD",
132 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
133 US_FL_NO_REPORT_OPCODES),
135 /* "G-DRIVE" external HDD hangs on write without these.
136 * Patch submitted by Alexander Kappner <agk@godking.net>
138 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
139 "SimpleTech",
140 "External HDD",
141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
142 US_FL_ALWAYS_SYNC),