]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB: Storage: Update unusual_devs entry for Datafab KECF-USB
authorNick Holloway <Nick.Holloway@pyrites.org.uk>
Sun, 25 Jan 2009 16:58:43 +0000 (16:58 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Feb 2009 19:19:49 +0000 (11:19 -0800)
This device suffers from the off-by-one error when reporting the capacity,
so add US_FL_FIX_CAPACITY to the existing entry.

Signed-off-by: Nick Holloway <Nick.Holloway@pyrites.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/unusual_devs.h

index 8e878cab8dc743c55153f7bbbf9092a333f4b0ad..50dc33a6065bd01b61bac0b26da138eabd015c68 100644 (file)
@@ -1214,7 +1214,7 @@ UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0xffff,
                "Datafab",
                "KECF-USB",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
-               US_FL_FIX_INQUIRY ),
+               US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
 
 /* Reported by Rauch Wolke <rauchwolke@gmx.net> */
 UNUSUAL_DEV(  0x07c4, 0xa4a5, 0x0000, 0xffff,