]> git.hungrycats.org Git - linux/commit
[PATCH] USB storage: Command failure codes for sddr09 driver
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 5 Dec 2003 03:06:34 +0000 (19:06 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 5 Dec 2003 03:06:34 +0000 (19:06 -0800)
commit78dd3042258c73c096ff214be6865cb3a373de78
treedd968514aa6a1e8b129ed45eb67ece65eaa69933
parent16c7cc306e6359d0051ef18968daa94829e3986b
[PATCH] USB storage: Command failure codes for sddr09 driver

This patch updates the sdd09 subdriver to make it return Command Failure
with appropriate sense data (rather than Tranport Error) when:

a MODE-SENSE command requests an unsupported page;

a CDB includes an unrecognized command code.

This should help prevent confusion and excessive retrying by the SCSI
drivers.
drivers/usb/storage/sddr09.c