forked from Minki/linux
0ff71883b2
This patch (as1207) converts usb-storage's sddr09 subdriver into a separate module. An unexpected complication arises because of DPCM devices, in which one LUN uses the sddr09 transport and one uses the standard CB transport. Since these devices can be used even when USB_STORAGE_SDDR09 isn't configured, their entries in unusual_devs.h require special treatment. If SDDR09 isn't configured then the entries remain in unusual_devs.h; if it is then the entries are present in unusual_sddr09.h instead. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
36 lines
1.2 KiB
Makefile
36 lines
1.2 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_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)
|
|
|
|
ifeq ($(CONFIG_USB_LIBUSUAL),)
|
|
usb-storage-objs += usual-tables.o
|
|
else
|
|
obj-$(CONFIG_USB) += libusual.o usual-tables.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
|
|
|
|
ums-sddr09-objs := sddr09.o
|