USB: dummy-hcd: disable interrupts during req->complete
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / usb / storage / unusual_devs.h
CommitLineData
1da177e4 1/* Driver for USB Mass Storage compliant devices
093cf723 2 * Unusual Devices File
1da177e4
LT
3 *
4 * $Id: unusual_devs.h,v 1.32 2002/02/25 02:41:24 mdharm Exp $
5 *
6 * Current development and maintenance by:
7 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
8 *
9 * Initial work by:
10 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
11 *
12 * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
13 * information about this driver.
14 *
15 * This program is free software; you can redistribute it and/or modify it
16 * under the terms of the GNU General Public License as published by the
17 * Free Software Foundation; either version 2, or (at your option) any
18 * later version.
19 *
20 * This program is distributed in the hope that it will be useful, but
21 * WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * General Public License for more details.
24 *
25 * You should have received a copy of the GNU General Public License along
26 * with this program; if not, write to the Free Software Foundation, Inc.,
27 * 675 Mass Ave, Cambridge, MA 02139, USA.
28 */
29
30/* IMPORTANT NOTE: This file must be included in another file which does
31 * the following thing for it to work:
32 * The macro UNUSUAL_DEV() must be defined before this file is included
33 */
1da177e4
LT
34
35/* If you edit this file, please try to keep it sorted first by VendorID,
36 * then by ProductID.
37 *
38 * If you want to add an entry for this file, be sure to include the
39 * following information:
40 * - a patch that adds the entry for your device, including your
41 * email address right above the entry (plus maybe a brief
42 * explanation of the reason for the entry),
43 * - a copy of /proc/bus/usb/devices with your device plugged in
44 * running with this patch.
45 * Send your submission to either Phil Dibowitz <phil@ipom.com> or
46 * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the
47 * USB development list <linux-usb-devel@lists.sourceforge.net>.
48 */
49
8af60be9
VB
50/* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr>
51 */
52UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
53 "ATMEL",
54 "SND1 Storage",
55 US_SC_DEVICE, US_PR_DEVICE, NULL,
56 US_FL_IGNORE_RESIDUE),
57
1da177e4
LT
58UNUSUAL_DEV( 0x03ee, 0x6901, 0x0000, 0x0100,
59 "Mitsumi",
60 "USB FDD",
61 US_SC_DEVICE, US_PR_DEVICE, NULL,
62 US_FL_SINGLE_LUN ),
63
9d5847bc
RQ
64/* Reported by Rodolfo Quesada <rquesada@roqz.net> */
65UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
66 "VIA Technologies Inc.",
67 "Mitsumi multi cardreader",
68 US_SC_DEVICE, US_PR_DEVICE, NULL,
69 US_FL_IGNORE_RESIDUE ),
70
1da177e4
LT
71UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
72 "HP",
73 "CD-Writer+",
74 US_SC_8070, US_PR_CB, NULL, 0),
75
76#ifdef CONFIG_USB_STORAGE_USBAT
77UNUSUAL_DEV( 0x03f0, 0x0207, 0x0001, 0x0001,
78 "HP",
79 "CD-Writer+ 8200e",
bdcfd9e3 80 US_SC_8070, US_PR_USBAT, init_usbat_cd, 0),
1da177e4
LT
81
82UNUSUAL_DEV( 0x03f0, 0x0307, 0x0001, 0x0001,
83 "HP",
84 "CD-Writer+ CD-4e",
bdcfd9e3 85 US_SC_8070, US_PR_USBAT, init_usbat_cd, 0),
1da177e4
LT
86#endif
87
1ea640ce
PD
88/* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
89 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
90 * for USB floppies that need the SINGLE_LUN enforcement.
91 */
92UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
93 "NEC",
94 "NEC USB UF000x",
95 US_SC_DEVICE, US_PR_DEVICE, NULL,
96 US_FL_SINGLE_LUN ),
97
3e220e95
PD
98/* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
99UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
100 "VIA Technologies Inc.",
101 "USB 2.0 Card Reader",
102 US_SC_DEVICE, US_PR_DEVICE, NULL,
103 US_FL_IGNORE_RESIDUE ),
104
1da177e4
LT
105/* Deduced by Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
106 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
107 * always fails and confuses drive.
108 */
109UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
110 "Buffalo",
111 "DUB-P40G HDD",
112 US_SC_DEVICE, US_PR_DEVICE, NULL,
113 US_FL_FIX_INQUIRY ),
114
d8840d60
E
115/* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
116UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
117 "Samsung Info. Systems America, Inc.",
118 "MP3 Player",
119 US_SC_DEVICE, US_PR_DEVICE, NULL,
120 US_FL_IGNORE_RESIDUE ),
121
5501a48c
PD
122/* Reported by Orgad Shaneh <orgads@gmail.com> */
123UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
124 "Samsung", "MP3 Player",
125 US_SC_DEVICE, US_PR_DEVICE, NULL,
126 US_FL_IGNORE_RESIDUE ),
127
1d614a4b
AS
128/* Reported by Christian Leber <christian@leber.de> */
129UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
130 "TrekStor",
131 "i.Beat 115 2.0",
132 US_SC_DEVICE, US_PR_DEVICE, NULL,
133 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
134
e4a16e0c
PD
135/* Reported by Stefan Werner <dustbln@gmx.de> */
136UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
137 "TrekStor",
138 "i.Beat Joy 2.0",
139 US_SC_DEVICE, US_PR_DEVICE, NULL,
140 US_FL_IGNORE_RESIDUE ),
141
23b7885d
PZ
142/* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
143UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
144 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
145 US_SC_DEVICE, US_PR_DEVICE, NULL,
146 US_FL_IGNORE_RESIDUE ),
147
9a01355e
AS
148/* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
149 * Einar Th. Einarsson <einarthered@gmail.com> */
150UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
151 "Nokia",
152 "N91",
153 US_SC_DEVICE, US_PR_DEVICE, NULL,
154 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
155
d5681fe8
AS
156/* Reported by Jiri Slaby <jirislaby@gmail.com> and
157 * Rene C. Castberg <Rene@Castberg.org> */
158UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
159 "Nokia",
160 "N80",
161 US_SC_DEVICE, US_PR_DEVICE, NULL,
162 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
163
57b01b1e
AS
164/* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
165UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
166 "Nokia",
167 "E61",
168 US_SC_DEVICE, US_PR_DEVICE, NULL,
169 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
170
1ea640ce
PD
171/* Reported by Olaf Hering <olh@suse.de> from novell bug #105878 */
172UNUSUAL_DEV( 0x0424, 0x0fdc, 0x0210, 0x0210,
173 "SMSC",
174 "FDC GOLD-2.30",
175 US_SC_DEVICE, US_PR_DEVICE, NULL,
176 US_FL_SINGLE_LUN ),
177
1da177e4
LT
178#ifdef CONFIG_USB_STORAGE_DPCM
179UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
180 "Microtech",
181 "CameraMate (DPCM_USB)",
182 US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
183#endif
184
16f05be7
PD
185/* Patch submitted by Daniel Drake <dsd@gentoo.org>
186 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
187UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
188 "Neuros Audio",
189 "USB 2.0 HD 2.5",
190 US_SC_DEVICE, US_PR_BULK, NULL,
191 US_FL_NEED_OVERRIDE ),
192
490dce15
PZ
193/*
194 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
195 * The key does not actually break, but it returns zero sense which
196 * makes our SCSI stack to print confusing messages.
197 */
198UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
199 "USBest Technology", /* sold by Transcend */
200 "USB Mass Storage Device",
201 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
202
16f05be7
PD
203/*
204* Bohdan Linda <bohdan.linda@gmail.com>
205* 1GB USB sticks MyFlash High Speed. I have restricted
206* the revision to my model only
207*/
208UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
209 "USB 2.0",
210 "Flash Disk",
211 US_SC_DEVICE, US_PR_DEVICE, NULL,
212 US_FL_NOT_LOCKABLE ),
e1c37b8d 213
abb02fdf
MD
214UNUSUAL_DEV( 0x045a, 0x5210, 0x0101, 0x0101,
215 "Rio",
216 "Rio Karma",
217 US_SC_SCSI, US_PR_BULK, rio_karma_init, 0),
218
1da177e4
LT
219/* Patch submitted by Philipp Friedrich <philipp@void.at> */
220UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
221 "Kyocera",
222 "Finecam S3x",
223 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
224
225/* Patch submitted by Philipp Friedrich <philipp@void.at> */
226UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
227 "Kyocera",
228 "Finecam S4",
229 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
230
231/* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
232UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
233 "Kyocera",
234 "Finecam S5",
235 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
236
237/* Patch for Kyocera Finecam L3
238 * Submitted by Michael Krauth <michael.krauth@web.de>
239 * and Alessandro Fracchetti <al.fracchetti@tin.it>
240 */
241UNUSUAL_DEV( 0x0482, 0x0105, 0x0100, 0x0100,
242 "Kyocera",
243 "Finecam L3",
244 US_SC_SCSI, US_PR_BULK, NULL,
245 US_FL_FIX_INQUIRY),
246
247/* Reported by Paul Stewart <stewart@wetlogic.net>
248 * This entry is needed because the device reports Sub=ff */
249UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
250 "Hitachi",
251 "DVD-CAM DZ-MV100A Camcorder",
252 US_SC_SCSI, US_PR_CB, NULL, US_FL_SINGLE_LUN),
253
ae671813
AS
254/* Patch for Nikon coolpix 2000
255 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
256UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
257 "NIKON",
258 "NIKON DSC E2000",
259 US_SC_DEVICE, US_PR_DEVICE,NULL,
260 US_FL_NOT_LOCKABLE ),
261
1da177e4
LT
262/* Reported by Andreas Bockhold <andreas@bockionline.de> */
263UNUSUAL_DEV( 0x04b0, 0x0405, 0x0100, 0x0100,
264 "NIKON",
265 "NIKON DSC D70",
266 US_SC_DEVICE, US_PR_DEVICE, NULL,
267 US_FL_FIX_CAPACITY),
268
ae671813
AS
269/* Reported by Jamie Kitson <jamie@staberinde.fsnet.co.uk> */
270UNUSUAL_DEV( 0x04b0, 0x040d, 0x0100, 0x0100,
17fa6e55 271 "NIKON",
ae671813
AS
272 "NIKON DSC D70s",
273 US_SC_DEVICE, US_PR_DEVICE, NULL,
274 US_FL_FIX_CAPACITY),
17fa6e55 275
1da177e4
LT
276/* BENQ DC5330
277 * Reported by Manuel Fombuena <mfombuena@ya.com> and
278 * Frank Copeland <fjc@thingy.apana.org.au> */
279UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
280 "Tekom Technologies, Inc",
281 "300_CAMERA",
282 US_SC_DEVICE, US_PR_DEVICE, NULL,
283 US_FL_IGNORE_RESIDUE ),
284
285/* Reported by Simon Levitt <simon@whattf.com>
286 * This entry needs Sub and Proto fields */
287UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
288 "Epson",
289 "875DC Storage",
290 US_SC_SCSI, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
291
292/* Reported by Khalid Aziz <khalid@gonehiking.org>
293 * This entry is needed because the device reports Sub=ff */
294UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
295 "Epson",
296 "785EPX Storage",
297 US_SC_SCSI, US_PR_BULK, NULL, US_FL_SINGLE_LUN),
298
299/* Not sure who reported this originally but
300 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
301 * flag be added */
302UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
303 "Fujifilm",
304 "FinePix 1400Zoom",
305 US_SC_UFI, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
306
307