xref: /openbmc/linux/drivers/usb/storage/Kconfig (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1cae8dc3bSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# USB Storage driver configuration
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
60eb526b9SBorislav Petkovcomment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may"
70eb526b9SBorislav Petkovcomment "also be needed; see USB_STORAGE Help for more info"
81da177e4SLinus Torvalds
91da177e4SLinus Torvaldsconfig USB_STORAGE
101da177e4SLinus Torvalds	tristate "USB Mass Storage support"
1125e11ec4SFlorian Fainelli	depends on SCSI
12a7f7f624SMasahiro Yamada	help
131da177e4SLinus Torvalds	  Say Y here if you want to connect USB mass storage devices to your
141da177e4SLinus Torvalds	  computer's USB port. This is the driver you need for USB
151da177e4SLinus Torvalds	  floppy drives, USB hard disks, USB tape drives, USB CD-ROMs,
161da177e4SLinus Torvalds	  USB flash devices, and memory sticks, along with
171da177e4SLinus Torvalds	  similar devices. This driver may also be used for some cameras
181da177e4SLinus Torvalds	  and card readers.
191da177e4SLinus Torvalds
2065934a9aSDavid Howells	  This option depends on 'SCSI' support being enabled, but you
211da177e4SLinus Torvalds	  probably also need 'SCSI device support: SCSI disk support'
22c309b351SHannes Reinecke	  (BLK_DEV_SD) for most USB storage devices.
231da177e4SLinus Torvalds
241da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
251da177e4SLinus Torvalds	  module will be called usb-storage.
261da177e4SLinus Torvalds
27d1e34849SVladimir Zapolskiyif USB_STORAGE
28d1e34849SVladimir Zapolskiy
291da177e4SLinus Torvaldsconfig USB_STORAGE_DEBUG
301da177e4SLinus Torvalds	bool "USB Mass Storage verbose debug"
311da177e4SLinus Torvalds	help
321da177e4SLinus Torvalds	  Say Y here in order to have the USB Mass Storage code generate
331da177e4SLinus Torvalds	  verbose debugging messages.
341da177e4SLinus Torvalds
3550a6cb93Swwangconfig USB_STORAGE_REALTEK
3650a6cb93Swwang	tristate "Realtek Card Reader support"
3750a6cb93Swwang	help
3850a6cb93Swwang	  Say Y here to include additional code to support the power-saving function
3950a6cb93Swwang	  for Realtek RTS51xx USB card readers.
4050a6cb93Swwang
4150a6cb93Swwang	  If this driver is compiled as a module, it will be named ums-realtek.
4250a6cb93Swwang
43e931830bSedwin_rongconfig REALTEK_AUTOPM
44e931830bSedwin_rong	bool "Realtek Card Reader autosuspend support"
451b3e3aa6SRafael J. Wysocki	depends on USB_STORAGE_REALTEK && PM
46e931830bSedwin_rong	default y
4750a6cb93Swwang
481da177e4SLinus Torvaldsconfig USB_STORAGE_DATAFAB
492cbbf357SAlan Stern	tristate "Datafab Compact Flash Reader support"
501da177e4SLinus Torvalds	help
511da177e4SLinus Torvalds	  Support for certain Datafab CompactFlash readers.
52631dd1a8SJustin P. Mattock	  Datafab has a web page at <http://www.datafab.com/>.
531da177e4SLinus Torvalds
542cbbf357SAlan Stern	  If this driver is compiled as a module, it will be named ums-datafab.
552cbbf357SAlan Stern
561da177e4SLinus Torvaldsconfig USB_STORAGE_FREECOM
570d62939fSAlan Stern	tristate "Freecom USB/ATAPI Bridge support"
581da177e4SLinus Torvalds	help
591da177e4SLinus Torvalds	  Support for the Freecom USB to IDE/ATAPI adaptor.
60*e46d8cb5SAlexander A. Klimov	  Freecom has a web page at <https://www.freecom.de/>.
611da177e4SLinus Torvalds
620d62939fSAlan Stern	  If this driver is compiled as a module, it will be named ums-freecom.
630d62939fSAlan Stern
641da177e4SLinus Torvaldsconfig USB_STORAGE_ISD200
6532d5493eSAlan Stern	tristate "ISD-200 USB/ATA Bridge support"
66a7f7f624SMasahiro Yamada	help
671da177e4SLinus Torvalds	  Say Y here if you want to use USB Mass Store devices based
681da177e4SLinus Torvalds	  on the In-Systems Design ISD-200 USB/ATA bridge.
691da177e4SLinus Torvalds
701da177e4SLinus Torvalds	  Some of the products that use this chip are:
711da177e4SLinus Torvalds
721da177e4SLinus Torvalds	  - Archos Jukebox 6000
731da177e4SLinus Torvalds	  - ISD SmartCable for Storage
741da177e4SLinus Torvalds	  - Taiwan Skymaster CD530U/DEL-0241 IDE bridge
751da177e4SLinus Torvalds	  - Sony CRX10U CD-R/RW drive
761da177e4SLinus Torvalds	  - CyQ've CQ8060A CDRW drive
771da177e4SLinus Torvalds	  - Planex eXtreme Drive RX-25HU USB-IDE cable (not model RX-25U)
781da177e4SLinus Torvalds
7932d5493eSAlan Stern	  If this driver is compiled as a module, it will be named ums-isd200.
8032d5493eSAlan Stern
811da177e4SLinus Torvaldsconfig USB_STORAGE_USBAT
8226d6818fSAlan Stern	tristate "USBAT/USBAT02-based storage support"
831da177e4SLinus Torvalds	help
841da177e4SLinus Torvalds	  Say Y here to include additional code to support storage devices
851da177e4SLinus Torvalds	  based on the SCM/Shuttle USBAT/USBAT02 processors.
861da177e4SLinus Torvalds
871da177e4SLinus Torvalds	  Devices reported to work with this driver include:
881da177e4SLinus Torvalds	  - CompactFlash reader included with Kodak DC3800 camera
891da177e4SLinus Torvalds	  - Dane-Elec Zmate CompactFlash reader
901da177e4SLinus Torvalds	  - Delkin Efilm reader2
911da177e4SLinus Torvalds	  - HP 8200e/8210e/8230e CD-Writer Plus drives
921da177e4SLinus Torvalds	  - I-JAM JS-50U
931da177e4SLinus Torvalds	  - Jessops CompactFlash JESDCFRU BLACK
941da177e4SLinus Torvalds	  - Kingston Technology PCREAD-USB/CF
951da177e4SLinus Torvalds	  - Maxell UA4 CompactFlash reader
961da177e4SLinus Torvalds	  - Memorex UCF-100
971da177e4SLinus Torvalds	  - Microtech ZiO! ICS-45 CF2
981da177e4SLinus Torvalds	  - RCA LYRA MP3 portable
991da177e4SLinus Torvalds	  - Sandisk ImageMate SDDR-05b
1001da177e4SLinus Torvalds
10126d6818fSAlan Stern	  If this driver is compiled as a module, it will be named ums-usbat.
10226d6818fSAlan Stern
1031da177e4SLinus Torvaldsconfig USB_STORAGE_SDDR09
1040ff71883SAlan Stern	tristate "SanDisk SDDR-09 (and other SmartMedia, including DPCM) support"
1051da177e4SLinus Torvalds	help
1061da177e4SLinus Torvalds	  Say Y here to include additional code to support the Sandisk SDDR-09
1071da177e4SLinus Torvalds	  SmartMedia reader in the USB Mass Storage driver.
108c20b15fdSAlan Stern	  Also works for the Microtech Zio! CompactFlash/SmartMedia reader.
1091da177e4SLinus Torvalds
1100ff71883SAlan Stern	  If this driver is compiled as a module, it will be named ums-sddr09.
1110ff71883SAlan Stern
1121da177e4SLinus Torvaldsconfig USB_STORAGE_SDDR55
11370fcc005SAlan Stern	tristate "SanDisk SDDR-55 SmartMedia support"
1141da177e4SLinus Torvalds	help
1151da177e4SLinus Torvalds	  Say Y here to include additional code to support the Sandisk SDDR-55
1161da177e4SLinus Torvalds	  SmartMedia reader in the USB Mass Storage driver.
1171da177e4SLinus Torvalds
11870fcc005SAlan Stern	  If this driver is compiled as a module, it will be named ums-sddr55.
11970fcc005SAlan Stern
1201da177e4SLinus Torvaldsconfig USB_STORAGE_JUMPSHOT
121a9fb6d05SAlan Stern	tristate "Lexar Jumpshot Compact Flash Reader"
1221da177e4SLinus Torvalds	help
1231da177e4SLinus Torvalds	  Say Y here to include additional code to support the Lexar Jumpshot
1241da177e4SLinus Torvalds	  USB CompactFlash reader.
1251da177e4SLinus Torvalds
126a9fb6d05SAlan Stern	  If this driver is compiled as a module, it will be named ums-jumpshot.
127a9fb6d05SAlan Stern
128e80b0fadSMatthew Dharmconfig USB_STORAGE_ALAUDA
129a74bba3bSAlan Stern	tristate "Olympus MAUSB-10/Fuji DPC-R1 support"
130e80b0fadSMatthew Dharm	help
131e80b0fadSMatthew Dharm	  Say Y here to include additional code to support the Olympus MAUSB-10
132e80b0fadSMatthew Dharm	  and Fujifilm DPC-R1 USB Card reader/writer devices.
133e80b0fadSMatthew Dharm
13409509603SMatt LaPlante	  These devices are based on the Alauda chip and support both
135e80b0fadSMatthew Dharm	  XD and SmartMedia cards.
13634008dbfSMatthew Dharm
137a74bba3bSAlan Stern	  If this driver is compiled as a module, it will be named ums-alauda.
138a74bba3bSAlan Stern
13934008dbfSMatthew Dharmconfig USB_STORAGE_ONETOUCH
1409cfb95efSAlan Stern	tristate "Support OneTouch Button on Maxtor Hard Drives"
141e42dc36bSDmitry Torokhov	depends on INPUT=y || INPUT=USB_STORAGE
14234008dbfSMatthew Dharm	help
14334008dbfSMatthew Dharm	  Say Y here to include additional code to support the Maxtor OneTouch
14434008dbfSMatthew Dharm	  USB hard drive's onetouch button.
14534008dbfSMatthew Dharm
14634008dbfSMatthew Dharm	  This code registers the button on the front of Maxtor OneTouch USB
14734008dbfSMatthew Dharm	  hard drive's as an input device. An action can be associated with
14834008dbfSMatthew Dharm	  this input in any keybinding software. (e.g. gnome's keyboard short-
14934008dbfSMatthew Dharm	  cuts)
150a00828e9SPete Zaitcev
1519cfb95efSAlan Stern	  If this driver is compiled as a module, it will be named ums-onetouch.
1529cfb95efSAlan Stern
153dfe0d3baSMatthew Dharmconfig USB_STORAGE_KARMA
154c1033784SAlan Stern	tristate "Support for Rio Karma music player"
155dfe0d3baSMatthew Dharm	help
156dfe0d3baSMatthew Dharm	  Say Y here to include additional code to support the Rio Karma
157dfe0d3baSMatthew Dharm	  USB interface.
158dfe0d3baSMatthew Dharm
159dfe0d3baSMatthew Dharm	  This code places the Rio Karma into mass storage mode, enabling
160dfe0d3baSMatthew Dharm	  it to be mounted as an ordinary filesystem. Performing an eject
161dfe0d3baSMatthew Dharm	  on the resulting scsi device node returns the Karma to normal
162dfe0d3baSMatthew Dharm	  operation.
163dfe0d3baSMatthew Dharm
164c1033784SAlan Stern	  If this driver is compiled as a module, it will be named ums-karma.
165c1033784SAlan Stern
166d277064eSmatthieu castetconfig USB_STORAGE_CYPRESS_ATACB
167fcdb5140SAlan Stern	tristate "SAT emulation on Cypress USB/ATA Bridge with ATACB"
168a7f7f624SMasahiro Yamada	help
169d277064eSmatthieu castet	  Say Y here if you want to use SAT (ata pass through) on devices based
170d277064eSmatthieu castet	  on the Cypress USB/ATA bridge supporting ATACB. This will allow you
171d277064eSmatthieu castet	  to use tools to tune and monitor your drive (like hdparm or smartctl).
172d277064eSmatthieu castet
173d277064eSmatthieu castet	  If you say no here your device will still work with the standard usb
174d277064eSmatthieu castet	  mass storage class.
175d277064eSmatthieu castet
176fcdb5140SAlan Stern	  If this driver is compiled as a module, it will be named ums-cypress.
177fcdb5140SAlan Stern
178e49c459cSRandy Dunlapconfig USB_STORAGE_ENE_UB6250
179e49c459cSRandy Dunlap	tristate "USB ENE card reader support"
180a7f7f624SMasahiro Yamada	help
18133842cedSCho, Yu-Chen	  Say Y here if you wish to control a ENE SD/MS Card reader.
18216fae052SKristina Martšenko	  Note that this driver does not support SM cards.
183e49c459cSRandy Dunlap
184e49c459cSRandy Dunlap	  To compile this driver as a module, choose M here: the
185e49c459cSRandy Dunlap	  module will be called ums-eneub6250.
186e49c459cSRandy Dunlap
187d1e34849SVladimir Zapolskiyendif # USB_STORAGE
188d1e34849SVladimir Zapolskiy
189115bb1ffSMatthew Wilcoxconfig USB_UAS
190115bb1ffSMatthew Wilcox	tristate "USB Attached SCSI"
191dc88608dSGerd Hoffmann	depends on SCSI && USB_STORAGE
192115bb1ffSMatthew Wilcox	help
193115bb1ffSMatthew Wilcox	  The USB Attached SCSI protocol is supported by some USB
194115bb1ffSMatthew Wilcox	  storage devices.  It permits higher performance by supporting
195115bb1ffSMatthew Wilcox	  multiple outstanding commands.
196115bb1ffSMatthew Wilcox
197115bb1ffSMatthew Wilcox	  If you don't know whether you have a UAS device, it is safe to
198115bb1ffSMatthew Wilcox	  say 'Y' or 'M' here and the kernel will use the right driver.
199115bb1ffSMatthew Wilcox
200115bb1ffSMatthew Wilcox	  If you compile this driver as a module, it will be named uas.
201