aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/unusual_devs.h
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2007-02-08 03:04:48 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-16 18:32:19 -0500
commit61bf54b71d5abf767ee46284be19965d7253ddbf (patch)
tree04bda12e495bc19be2712dff9da35f5e3271691a /drivers/usb/storage/unusual_devs.h
parent5b06470816fb5e658e81db2a55b530ff2ba711c9 (diff)
USB Storage: indistinguishable devices with broken and unbroken firmware
there's a USB mass storage device which exists in two version. One reports the correct size and the other does not. Apart from that they are identical and cannot be told apart. Here's a heuristic based on the empirical finding that drives have even sizes. Signed-off-by: Oliver Neukum <oneukum@suse.de> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index bab054b8d94f..568366569769 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -1434,7 +1434,7 @@ UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
1434 "DataStor", 1434 "DataStor",
1435 "USB4500 FW1.04", 1435 "USB4500 FW1.04",
1436 US_SC_DEVICE, US_PR_DEVICE, NULL, 1436 US_SC_DEVICE, US_PR_DEVICE, NULL,
1437 US_FL_FIX_CAPACITY), 1437 US_FL_CAPACITY_HEURISTICS),
1438 1438
1439/* Control/Bulk transport for all SubClass values */ 1439/* Control/Bulk transport for all SubClass values */
1440USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR), 1440USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR),