summaryrefslogtreecommitdiff
path: root/drivers/usb/host/r8a66597.h
diff options
context:
space:
mode:
authorJosua Dietze <digidietze@draisberghof.de>2009-05-24 21:21:42 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 04:44:46 (GMT)
commit32ebbe7b6ad44ae9c276419710b56de6ba705303 (patch)
tree6ae020237f6c409b41c90962ff57179ebd4fbcf7 /drivers/usb/host/r8a66597.h
parent68335e816a92411649955a9903b1f30c388ea322 (diff)
downloadlinux-32ebbe7b6ad44ae9c276419710b56de6ba705303.tar.xz
USB: usb-storage: add filter to "option_ms" to leave unrecognized devices alone
Some unusual usb devices from the maker "Option" are switched from storage to serial/modem mode by sending a SCSI REZERO command. In one case a fairly common vendor/device ID is affected which led to problems for users of other modems or phones which are not supposed to be switched. The patch adds a filter by reading the vendor name with the SCSI INQUIRY command, and skips the switching code for all unrecognized entries. Further changes are cleanups and corrections pointed out by Alan Stern. Tested with two devices with the IDs 05c6:1000, one from "Option" and switchable, and one from Samsung (cell phone). Signed-off-by: Josua Dietze <digidietze@draisberghof.de> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/r8a66597.h')
0 files changed, 0 insertions, 0 deletions