aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/unusual_devs.h
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/unusual_devs.h
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/unusual_devs.h')
-rw-r--r--drivers/usb/storage/unusual_devs.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 0fd42a0c794..0330ed53ec1 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -985,6 +985,18 @@ UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
985 US_SC_DEVICE, US_PR_DEVICE, NULL, 985 US_SC_DEVICE, US_PR_DEVICE, NULL,
986 US_FL_FIX_CAPACITY ), 986 US_FL_FIX_CAPACITY ),
987 987
988/* Reported by Dan Williams <dcbw@redhat.com>
989 * Option N.V. mobile broadband modems
990 * Ignore driver CD mode and force into modem mode by default.
991 */
992
993/* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
994UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
995 "Option N.V.",
996 "Mass Storage",
997 US_SC_DEVICE, US_PR_DEVICE, option_ms_init,
998 0),
999
988#ifdef CONFIG_USB_STORAGE_JUMPSHOT 1000#ifdef CONFIG_USB_STORAGE_JUMPSHOT
989UNUSUAL_DEV( 0x05dc, 0x0001, 0x0000, 0x0001, 1001UNUSUAL_DEV( 0x05dc, 0x0001, 0x0000, 0x0001,
990 "Lexar", 1002 "Lexar",
@@ -1474,6 +1486,18 @@ UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1474 US_SC_DEVICE, US_PR_DEVICE, NULL, 1486 US_SC_DEVICE, US_PR_DEVICE, NULL,
1475 US_FL_IGNORE_DEVICE ), 1487 US_FL_IGNORE_DEVICE ),
1476 1488
1489/* Reported by Dan Williams <dcbw@redhat.com>
1490 * Option N.V. mobile broadband modems
1491 * Ignore driver CD mode and force into modem mode by default.
1492 */
1493
1494/* iCON 225 */
1495UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1496 "Option N.V.",
1497 "Mass Storage",
1498 US_SC_DEVICE, US_PR_DEVICE, option_ms_init,
1499 0),
1500
1477/* Reported by F. Aben <f.aben@option.com> 1501/* Reported by F. Aben <f.aben@option.com>
1478 * This device (wrongly) has a vendor-specific device descriptor. 1502 * This device (wrongly) has a vendor-specific device descriptor.
1479 * The entry is needed so usb-storage can bind to it's mass-storage 1503 * The entry is needed so usb-storage can bind to it's mass-storage