diff options
author | Doug Maxey <dwm@enoyolf.org> | 2007-12-06 00:36:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-17 13:47:14 -0500 |
commit | 33abc04f0420dceed0ebc2d1094019d3bb2b5c29 (patch) | |
tree | 87d8e2c7cf41d6afed4d75c2e3ef113b506541ab /drivers/usb/storage/unusual_devs.h | |
parent | b9e13ac30f850313be9232497ff98e90c43bc6b6 (diff) |
usb-storage: Fix devices that cannot handle 32k transfers
When a device cannot handle the smallest previously limited transfer
size (64 blocks) without stalling, limit the device to the amount of
packets that fit in a platform native page.
The lowest possible limit is PAGE_CACHE_SIZE, so if the device is ever
used on a platform that has larger than 8K pages, you lose unless you
can convince the device firmware folks to fix the issue.
Cc: Mathew Dharm <mdharm-scsi@one-eyed-alien.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Doug Maxey <dwm@austin.ibm.com>
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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 2c27721bd259..7bbfd31a9645 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h | |||
@@ -376,6 +376,13 @@ UNUSUAL_DEV( 0x04b0, 0x0417, 0x0100, 0x0100, | |||
376 | US_SC_DEVICE, US_PR_DEVICE, NULL, | 376 | US_SC_DEVICE, US_PR_DEVICE, NULL, |
377 | US_FL_FIX_CAPACITY), | 377 | US_FL_FIX_CAPACITY), |
378 | 378 | ||
379 | /* Reported by Doug Maxey (dwm@austin.ibm.com) */ | ||
380 | UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110, | ||
381 | "IBM", | ||
382 | "IBM RSA2", | ||
383 | US_SC_DEVICE, US_PR_CB, NULL, | ||
384 | US_FL_MAX_SECTORS_MIN), | ||
385 | |||
379 | /* BENQ DC5330 | 386 | /* BENQ DC5330 |
380 | * Reported by Manuel Fombuena <mfombuena@ya.com> and | 387 | * Reported by Manuel Fombuena <mfombuena@ya.com> and |
381 | * Frank Copeland <fjc@thingy.apana.org.au> */ | 388 | * Frank Copeland <fjc@thingy.apana.org.au> */ |