aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/unusual_devs.h
diff options
context:
space:
mode:
authorPhil Dibowitz <phil@ipom.com>2006-06-24 20:27:10 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-12 19:03:22 -0400
commit883d989a7edf7a62e38e9150990b56209420e9e5 (patch)
tree11b0476d04a21a3fa5a3ab07c6a687ac958a18d3 /drivers/usb/storage/unusual_devs.h
parent20307949469269ceea6262aaa306dcb55cf43b25 (diff)
[PATCH] USB Storage: US_FL_MAX_SECTORS_64 flag
This patch adds a US_FL_MAX_SECTORS_64 and removes the Genesys special-cases for this that were in scsiglue.c. It also adds the flag to other devices reported to need it. Signed-off-by: Phil Dibowitz <phil@ipom.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/unusual_devs.h')
-rw-r--r--drivers/usb/storage/unusual_devs.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index c8800651da97..b6a0eb8dc7e2 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -715,18 +715,22 @@ UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
715 * They were originally reported by Alexander Oltu 715 * They were originally reported by Alexander Oltu
716 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com> 716 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
717 * respectively. 717 * respectively.
718 *
719 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
720 * <phil@ipom.com> as these flags were made and hard-coded
721 * special-cases were pulled from scsiglue.c.
718 */ 722 */
719UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff, 723UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
720 "Genesys Logic", 724 "Genesys Logic",
721 "USB to IDE Optical", 725 "USB to IDE Optical",
722 US_SC_DEVICE, US_PR_DEVICE, NULL, 726 US_SC_DEVICE, US_PR_DEVICE, NULL,
723 US_FL_GO_SLOW ), 727 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ),
724 728
725UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff, 729UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
726 "Genesys Logic", 730 "Genesys Logic",
727 "USB to IDE Disk", 731 "USB to IDE Disk",
728 US_SC_DEVICE, US_PR_DEVICE, NULL, 732 US_SC_DEVICE, US_PR_DEVICE, NULL,
729 US_FL_GO_SLOW ), 733 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ),
730 734
731/* Reported by Hanno Boeck <hanno@gmx.de> 735/* Reported by Hanno Boeck <hanno@gmx.de>
732 * Taken from the Lycoris Kernel */ 736 * Taken from the Lycoris Kernel */
@@ -1203,6 +1207,14 @@ UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1203 US_SC_DEVICE, US_PR_DEVICE, NULL, 1207 US_SC_DEVICE, US_PR_DEVICE, NULL,
1204 US_FL_IGNORE_RESIDUE ), 1208 US_FL_IGNORE_RESIDUE ),
1205 1209
1210/* Reported by Benjamin Schiller <sbenni@gmx.de>
1211 * It is also sold by Easylite as DJ 20 */
1212UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1213 "Typhoon",
1214 "My DJ 1820",
1215 US_SC_DEVICE, US_PR_DEVICE, NULL,
1216 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1217
1206/* Reported by Michael Stattmann <michael@stattmann.com> */ 1218/* Reported by Michael Stattmann <michael@stattmann.com> */
1207UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000, 1219UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1208 "Sony Ericsson", 1220 "Sony Ericsson",