aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorBen Efros <ben@pc-doctor.com>2008-11-23 23:06:38 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 12:59:57 -0500
commitdbe6e0c023578dc7b13932f73991ed92b65f3811 (patch)
treed06f27393d23c811933c8574ce99ae451fd53f43 /drivers/usb/storage
parent1537e0ad944acf3a4c2b311a646d7993b89499f7 (diff)
USB: storage: Flag devices known to support SANE_SENSE
Add a few devices known to have support for larger sense buffers. Supporting SANE_SENSE does not necessarily mean SAT-1 or SAT-2 is fully supported. Depends on SANE_SENSE patch [1]. Incorporates the Maxtor and Western Digital devices originally submitted by Matthieu CASTET [2]. [1] https://lists.one-eyed-alien.net/pipermail/usb-storage/2008-November/004181.html [2] http://marc.info/?l=linux-usb&m=121762869915609&w=2 Signed-off-by: Ben Efros <ben@pc-doctor.com> Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/unusual_devs.h41
1 files changed, 37 insertions, 4 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 0e0ebf275a22..745809778310 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -85,6 +85,13 @@ UNUSUAL_DEV( 0x03f0, 0x0307, 0x0001, 0x0001,
85 US_SC_8070, US_PR_USBAT, init_usbat_cd, 0), 85 US_SC_8070, US_PR_USBAT, init_usbat_cd, 0),
86#endif 86#endif
87 87
88/* Reported by Ben Efros <ben@pc-doctor.com> */
89UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
90 "HP",
91 "Personal Media Drive",
92 US_SC_DEVICE, US_PR_DEVICE, NULL,
93 US_FL_SANE_SENSE ),
94
88/* Reported by Grant Grundler <grundler@parisc-linux.org> 95/* Reported by Grant Grundler <grundler@parisc-linux.org>
89 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware. 96 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
90 */ 97 */
@@ -1004,6 +1011,13 @@ UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
1004 US_SC_DEVICE, US_PR_DEVICE, NULL, 1011 US_SC_DEVICE, US_PR_DEVICE, NULL,
1005 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ), 1012 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ),
1006 1013
1014/* Reported by Ben Efros <ben@pc-doctor.com> */
1015UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
1016 "Genesys Logic",
1017 "USB to SATA",
1018 US_SC_DEVICE, US_PR_DEVICE, NULL,
1019 US_FL_SANE_SENSE ),
1020
1007/* Reported by Hanno Boeck <hanno@gmx.de> 1021/* Reported by Hanno Boeck <hanno@gmx.de>
1008 * Taken from the Lycoris Kernel */ 1022 * Taken from the Lycoris Kernel */
1009UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999, 1023UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
@@ -1452,6 +1466,13 @@ UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1452 US_SC_DEVICE, US_PR_DEVICE, NULL, 1466 US_SC_DEVICE, US_PR_DEVICE, NULL,
1453 0 ), 1467 0 ),
1454 1468
1469/* Reported by Ben Efros <ben@pc-doctor.com> */
1470UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1471 "Seagate",
1472 "FreeAgent Pro",
1473 US_SC_DEVICE, US_PR_DEVICE, NULL,
1474 US_FL_SANE_SENSE ),
1475
1455#ifdef CONFIG_USB_STORAGE_ISD200 1476#ifdef CONFIG_USB_STORAGE_ISD200
1456UNUSUAL_DEV( 0x0bf6, 0xa001, 0x0100, 0x0110, 1477UNUSUAL_DEV( 0x0bf6, 0xa001, 0x0100, 0x0110,
1457 "ATI", 1478 "ATI",
@@ -1475,6 +1496,12 @@ UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
1475 US_FL_SINGLE_LUN ), 1496 US_FL_SINGLE_LUN ),
1476#endif 1497#endif
1477 1498
1499UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1500 "Maxtor",
1501 "USB to SATA",
1502 US_SC_DEVICE, US_PR_DEVICE, NULL,
1503 US_FL_SANE_SENSE),
1504
1478/* 1505/*
1479 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688. 1506 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1480 * The device blatantly ignores LUN and returns 1 in GetMaxLUN. 1507 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
@@ -1674,6 +1701,12 @@ UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1674 US_SC_DEVICE, US_PR_DEVICE, usb_stor_ucr61s2b_init, 1701 US_SC_DEVICE, US_PR_DEVICE, usb_stor_ucr61s2b_init,
1675 0 ), 1702 0 ),
1676 1703
1704UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1705 "Western Digital",
1706 "External HDD",
1707 US_SC_DEVICE, US_PR_DEVICE, NULL,
1708 US_FL_SANE_SENSE),
1709
1677/* Reported by Fabio Venturi <f.venturi@tdnet.it> 1710/* Reported by Fabio Venturi <f.venturi@tdnet.it>
1678 * The device reports a vendor-specific bDeviceClass. 1711 * The device reports a vendor-specific bDeviceClass.
1679 */ 1712 */
@@ -2063,10 +2096,10 @@ UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2063 * JMicron responds to USN and several other SCSI ioctls with a 2096 * JMicron responds to USN and several other SCSI ioctls with a
2064 * residue that causes subsequent I/O requests to fail. */ 2097 * residue that causes subsequent I/O requests to fail. */
2065UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100, 2098UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2066 "JMicron", 2099 "JMicron",
2067 "USB to ATA/ATAPI Bridge", 2100 "USB to ATA/ATAPI Bridge",
2068 US_SC_DEVICE, US_PR_DEVICE, NULL, 2101 US_SC_DEVICE, US_PR_DEVICE, NULL,
2069 US_FL_IGNORE_RESIDUE ), 2102 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2070 2103
2071/* Reported by Robert Schedel <r.schedel@yahoo.de> 2104/* Reported by Robert Schedel <r.schedel@yahoo.de>
2072 * Note: this is a 'super top' device like the above 14cd/6600 device */ 2105 * Note: this is a 'super top' device like the above 14cd/6600 device */