aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/usb.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-12-14 12:39:22 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 13:00:09 -0500
commit281b064f237205053ef1874ffc77b9211265af4c (patch)
tree0a5c9efd36c71fef29eb75cc22dc0ecf43f6e60a /drivers/usb/storage/usb.c
parent49367d8f1d9f26482cf7089489e90f0afd0a942c (diff)
USB: unusual dev for Option N.V. ZeroCD modems
Many newer Option mobile broadband devices initially provide a usb-storage "driver CD" device that's pretty useless on Linux since any software on it most likely wouldn't be compatible with your kernel or distro anyway. Thus, by default just kill the driver CD device by sending the SCSI 'rezero' command, but allow override of the default behavior via usb-storage module parameter so users can keep the ZeroCD device if they really want to. Inspired by the Sierra TruInstall patch. Signed-off-by: Dan Williams <dcbw@redhat.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Cc: Peter Henn <p.henn@option.com Cc: Denis Joseph Barrow <D.Barow@option.com> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/usb.c')
-rw-r--r--drivers/usb/storage/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
index b25c448d5eb7..ce0b580db5ea 100644
--- a/drivers/usb/storage/usb.c
+++ b/drivers/usb/storage/usb.c
@@ -100,6 +100,7 @@
100#include "cypress_atacb.h" 100#include "cypress_atacb.h"
101#endif 101#endif
102#include "sierra_ms.h" 102#include "sierra_ms.h"
103#include "option_ms.h"
103 104
104/* Some informational data */ 105/* Some informational data */
105MODULE_AUTHOR("Matthew Dharm <mdharm-usb@one-eyed-alien.net>"); 106MODULE_AUTHOR("Matthew Dharm <mdharm-usb@one-eyed-alien.net>");