]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: unusual dev for Option N.V. ZeroCD modems
authorDan Williams <dcbw@redhat.com>
Sun, 14 Dec 2008 17:39:22 +0000 (12:39 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 18:00:09 +0000 (10:00 -0800)
commit281b064f237205053ef1874ffc77b9211265af4c
tree0a5c9efd36c71fef29eb75cc22dc0ecf43f6e60a
parent49367d8f1d9f26482cf7089489e90f0afd0a942c
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>
drivers/usb/storage/Makefile
drivers/usb/storage/option_ms.c [new file with mode: 0644]
drivers/usb/storage/option_ms.h [new file with mode: 0644]
drivers/usb/storage/unusual_devs.h
drivers/usb/storage/usb.c