summaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/option_ms.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-12-14 18:39:22 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 19:00:09 +0100
commit281b064f237205053ef1874ffc77b9211265af4c (patch)
tree0a5c9efd36c71fef29eb75cc22dc0ecf43f6e60a /drivers/usb/storage/option_ms.h
parentUSB: mark "reject" field of struct urb as atomic_t (diff)
downloadlinux-281b064f237205053ef1874ffc77b9211265af4c.tar.xz
linux-281b064f237205053ef1874ffc77b9211265af4c.zip
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/option_ms.h')
-rw-r--r--drivers/usb/storage/option_ms.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/storage/option_ms.h b/drivers/usb/storage/option_ms.h
new file mode 100644
index 000000000000..b6e448cab039
--- /dev/null
+++ b/drivers/usb/storage/option_ms.h
@@ -0,0 +1,4 @@
+#ifndef _OPTION_MS_H_
+#define _OPTION_MS_H_
+extern int option_ms_init(struct us_data *us);
+#endif