mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 20:26:48 +07:00
281b064f23
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>
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
#
|
|
# Makefile for the USB Mass Storage device drivers.
|
|
#
|
|
# 15 Aug 2000, Christoph Hellwig <hch@infradead.org>
|
|
# Rewritten to use lists instead of if-statements.
|
|
#
|
|
|
|
EXTRA_CFLAGS := -Idrivers/scsi
|
|
|
|
obj-$(CONFIG_USB_STORAGE) += usb-storage.o
|
|
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG) += debug.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_USBAT) += shuttle_usbat.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR09) += sddr09.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_SDDR55) += sddr55.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_FREECOM) += freecom.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_ISD200) += isd200.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_DATAFAB) += datafab.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += jumpshot.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_ALAUDA) += alauda.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_ONETOUCH) += onetouch.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_KARMA) += karma.o
|
|
usb-storage-obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += cypress_atacb.o
|
|
|
|
usb-storage-objs := scsiglue.o protocol.o transport.o usb.o \
|
|
initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
|
|
|
|
ifneq ($(CONFIG_USB_LIBUSUAL),)
|
|
obj-$(CONFIG_USB) += libusual.o
|
|
endif
|