diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-12-01 10:36:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 13:00:06 -0500 |
commit | c20b15fde50c32174af4b48851e5ddadba36330e (patch) | |
tree | 1a06cf7037f9b1c5290e9c754881c11bc2966947 /drivers/usb/storage/Kconfig | |
parent | f1632df36b9467b75b7abfd2799aef67ec74a60a (diff) |
USB: usb-storage: merge DPCM support into SDDR09
The DPCM subdriver is a little peculiar, in that it's meant to support
devices where LUN 0 is Compact Flash and uses the CB transport whereas
LUN 1 is SmartMedia and uses the SDDR09 transport. Thus DPCM isn't
really a transport in itself; it's more like a demultiplexer.
Much of the DPCM code is part of the SDDR09 subdriver already, and the
remaining part is fairly small. This patch (as1182) moves that extra
piece into sddr09.c, thereby eliminating dpcm.c. Also eliminated is
the Kconfig entry for DPCM support; it is now listed as part of the
SDDR09 entry.
In order to make sure that the semantics are the same as before, each
unusual_devs entry for DPCM is now present twice: once with DPCM
support if SDDR09 is configured (as before), and once with the
SINGLE_LUN flag and CB support otherwise.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/Kconfig')
-rw-r--r-- | drivers/usb/storage/Kconfig | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index c68b738900bd..9df6887b91f6 100644 --- a/drivers/usb/storage/Kconfig +++ b/drivers/usb/storage/Kconfig | |||
@@ -61,13 +61,6 @@ config USB_STORAGE_ISD200 | |||
61 | - CyQ've CQ8060A CDRW drive | 61 | - CyQ've CQ8060A CDRW drive |
62 | - Planex eXtreme Drive RX-25HU USB-IDE cable (not model RX-25U) | 62 | - Planex eXtreme Drive RX-25HU USB-IDE cable (not model RX-25U) |
63 | 63 | ||
64 | config USB_STORAGE_DPCM | ||
65 | bool "Microtech/ZiO! CompactFlash/SmartMedia support" | ||
66 | depends on USB_STORAGE | ||
67 | help | ||
68 | Say Y here to support the Microtech/ZiO! CompactFlash reader. | ||
69 | There is a web page at <http://www.ziocorp.com/products/>. | ||
70 | |||
71 | config USB_STORAGE_USBAT | 64 | config USB_STORAGE_USBAT |
72 | bool "USBAT/USBAT02-based storage support" | 65 | bool "USBAT/USBAT02-based storage support" |
73 | depends on USB_STORAGE | 66 | depends on USB_STORAGE |
@@ -90,12 +83,12 @@ config USB_STORAGE_USBAT | |||
90 | - Sandisk ImageMate SDDR-05b | 83 | - Sandisk ImageMate SDDR-05b |
91 | 84 | ||
92 | config USB_STORAGE_SDDR09 | 85 | config USB_STORAGE_SDDR09 |
93 | bool "SanDisk SDDR-09 (and other SmartMedia) support" | 86 | bool "SanDisk SDDR-09 (and other SmartMedia, including DPCM) support" |
94 | depends on USB_STORAGE | 87 | depends on USB_STORAGE |
95 | help | 88 | help |
96 | Say Y here to include additional code to support the Sandisk SDDR-09 | 89 | Say Y here to include additional code to support the Sandisk SDDR-09 |
97 | SmartMedia reader in the USB Mass Storage driver. | 90 | SmartMedia reader in the USB Mass Storage driver. |
98 | Also works for the Microtech Zio! SmartMedia reader. | 91 | Also works for the Microtech Zio! CompactFlash/SmartMedia reader. |
99 | 92 | ||
100 | config USB_STORAGE_SDDR55 | 93 | config USB_STORAGE_SDDR55 |
101 | bool "SanDisk SDDR-55 SmartMedia support" | 94 | bool "SanDisk SDDR-55 SmartMedia support" |