]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usb-storage: make sddr09 a separate module
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 12 Feb 2009 19:47:49 +0000 (14:47 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:34 +0000 (16:20 -0700)
commit0ff71883b2d60136430458413c135d545c69b0c4
treec8828d2881acc8d4c063ee5336f5a282f766e7c8
parente6e244b6cb1f70e7109381626293cd40a8334ed3
usb-storage: make sddr09 a separate module

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>
drivers/usb/storage/Kconfig
drivers/usb/storage/Makefile
drivers/usb/storage/sddr09.c
drivers/usb/storage/sddr09.h [deleted file]
drivers/usb/storage/unusual_devs.h
drivers/usb/storage/unusual_sddr09.h [new file with mode: 0644]
drivers/usb/storage/usb.c
drivers/usb/storage/usual-tables.c