aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-07-21 10:08:28 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-13 20:32:50 -0400
commit368ee6469c327364ea10082a348f91c1f5ba47f7 (patch)
treefe712e89a91eb1d22e1071bbe82152218e76ac7a
parent3bea302d6aa61f2371a63e9ad81eaa373fd66441 (diff)
usb-storage: unusual_devs entries for iRiver T10 and Datafab CF+SM reader
This patch (as1115) adds unusual_devs entries with the IGNORE_RESIDE flag for the iRiver T10 and the Simple Tech/Datafab CF+SM card reader. Apparently these devices provide reasonable residue values for READ and WRITE operations, but not for others like INQUIRY or READ CAPACITY. This fixes the iRiver T10 problem reported in Bugzilla #11125. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/storage/unusual_devs.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 35ec1c69be1f..11249bf5d74f 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -1185,6 +1185,13 @@ UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1185 US_SC_DEVICE, US_PR_DEVICE, NULL, 1185 US_SC_DEVICE, US_PR_DEVICE, NULL,
1186 US_FL_FIX_INQUIRY ), 1186 US_FL_FIX_INQUIRY ),
1187 1187
1188/* Reported by Rauch Wolke <rauchwolke@gmx.net> */
1189UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1190 "Simple Tech/Datafab",
1191 "CF+SM Reader",
1192 US_SC_DEVICE, US_PR_DEVICE, NULL,
1193 US_FL_IGNORE_RESIDUE ),
1194
1188/* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant 1195/* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1189 * to the USB storage specification in two ways: 1196 * to the USB storage specification in two ways:
1190 * - They tell us they are using transport protocol CBI. In reality they 1197 * - They tell us they are using transport protocol CBI. In reality they
@@ -1767,6 +1774,13 @@ UNUSUAL_DEV( 0x2770, 0x915d, 0x0010, 0x0010,
1767 US_SC_DEVICE, US_PR_DEVICE, NULL, 1774 US_SC_DEVICE, US_PR_DEVICE, NULL,
1768 US_FL_FIX_CAPACITY ), 1775 US_FL_FIX_CAPACITY ),
1769 1776
1777/* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
1778UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
1779 "iRiver",
1780 "MP3 T10",
1781 US_SC_DEVICE, US_PR_DEVICE, NULL,
1782 US_FL_IGNORE_RESIDUE ),
1783
1770/* 1784/*
1771 * David Härdeman <david@2gen.com> 1785 * David Härdeman <david@2gen.com>
1772 * The key makes the SCSI stack print confusing (but harmless) messages 1786 * The key makes the SCSI stack print confusing (but harmless) messages