Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0
#
# CONFIG_USB Storage driver configuration
#

comment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may"
comment "also be needed; see USB_STORAGE Help for more info"

config CONFIG_USB_STORAGE
	tristate "USB Mass Storage support"
	depends on CONFIG_SCSI
	---help---
	  Say Y here if you want to connect CONFIG_USB mass storage devices to your
	  computer's CONFIG_USB port. This is the driver you need for CONFIG_USB
	  floppy drives, CONFIG_USB hard disks, CONFIG_USB tape drives, CONFIG_USB CD-ROMs,
	  CONFIG_USB flash devices, and memory sticks, along with
	  similar devices. This driver may also be used for some cameras
	  and card readers.

	  This option depends on 'CONFIG_SCSI' support being enabled, but you
	  probably also need 'CONFIG_SCSI device support: CONFIG_SCSI disk support'
	  (CONFIG_BLK_DEV_SD) for most CONFIG_USB storage devices.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called usb-storage.

if CONFIG_USB_STORAGE

config CONFIG_USB_STORAGE_DEBUG
	bool "USB Mass Storage verbose debug"
	help
	  Say Y here in order to have the CONFIG_USB Mass Storage code generate
	  verbose debugging messages.

config CONFIG_USB_STORAGE_REALTEK
	tristate "Realtek Card Reader support"
	help
	  Say Y here to include additional code to support the power-saving function
	  for Realtek RTS51xx CONFIG_USB card readers.

	  If this driver is compiled as a module, it will be named ums-realtek.

config CONFIG_REALTEK_AUTOPM
	bool "Realtek Card Reader autosuspend support"
	depends on CONFIG_USB_STORAGE_REALTEK && CONFIG_PM
	default y

config CONFIG_USB_STORAGE_DATAFAB
	tristate "Datafab Compact Flash Reader support"
	help
	  Support for certain Datafab CompactFlash readers.
	  Datafab has a web page at <http://www.datafab.com/>.

	  If this driver is compiled as a module, it will be named ums-datafab.

config CONFIG_USB_STORAGE_FREECOM
	tristate "Freecom USB/ATAPI Bridge support"
	help
	  Support for the Freecom CONFIG_USB to CONFIG_IDE/ATAPI adaptor.
	  Freecom has a web page at <http://www.freecom.de/>.

	  If this driver is compiled as a module, it will be named ums-freecom.

config CONFIG_USB_STORAGE_ISD200
	tristate "ISD-200 USB/ATA Bridge support"
	---help---
	  Say Y here if you want to use CONFIG_USB Mass Store devices based
	  on the In-Systems Design ISD-200 CONFIG_USB/CONFIG_ATA bridge.

	  Some of the products that use this chip are:

	  - Archos Jukebox 6000
	  - ISD SmartCable for Storage
	  - Taiwan Skymaster CD530U/DEL-0241 CONFIG_IDE bridge
	  - Sony CRX10U CD-R/RW drive
	  - CyQ've CQ8060A CDRW drive
	  - Planex eXtreme Drive RX-25HU CONFIG_USB-CONFIG_IDE cable (not model RX-25U)

	  If this driver is compiled as a module, it will be named ums-isd200.

config CONFIG_USB_STORAGE_USBAT
	tristate "USBAT/USBAT02-based storage support"
	help
	  Say Y here to include additional code to support storage devices
	  based on the SCM/Shuttle USBAT/USBAT02 processors.

	  Devices reported to work with this driver include:
	  - CompactFlash reader included with Kodak DC3800 camera
	  - Dane-Elec Zmate CompactFlash reader
	  - Delkin Efilm reader2
	  - HP 8200e/8210e/8230e CD-Writer Plus drives
	  - I-JAM JS-50U
	  - Jessops CompactFlash JESDCFRU BLACK
	  - Kingston Technology PCREAD-CONFIG_USB/CF
	  - Maxell UA4 CompactFlash reader
	  - Memorex UCF-100
	  - Microtech ZiO! ICS-45 CF2
	  - RCA LYRA MP3 portable
	  - Sandisk ImageMate SDDR-05b

	  If this driver is compiled as a module, it will be named ums-usbat.

config CONFIG_USB_STORAGE_SDDR09
	tristate "SanDisk SDDR-09 (and other SmartMedia, including DPCM) support"
	help
	  Say Y here to include additional code to support the Sandisk SDDR-09
	  SmartMedia reader in the CONFIG_USB Mass Storage driver.
	  Also works for the Microtech Zio! CompactFlash/SmartMedia reader.

	  If this driver is compiled as a module, it will be named ums-sddr09.

config CONFIG_USB_STORAGE_SDDR55
	tristate "SanDisk SDDR-55 SmartMedia support"
	help
	  Say Y here to include additional code to support the Sandisk SDDR-55
	  SmartMedia reader in the CONFIG_USB Mass Storage driver.

	  If this driver is compiled as a module, it will be named ums-sddr55.

config CONFIG_USB_STORAGE_JUMPSHOT
	tristate "Lexar Jumpshot Compact Flash Reader"
	help
	  Say Y here to include additional code to support the Lexar Jumpshot
	  CONFIG_USB CompactFlash reader.

	  If this driver is compiled as a module, it will be named ums-jumpshot.

config CONFIG_USB_STORAGE_ALAUDA
	tristate "Olympus MAUSB-10/Fuji DPC-R1 support"
	help
	  Say Y here to include additional code to support the Olympus MAUSB-10
	  and Fujifilm DPC-R1 CONFIG_USB Card reader/writer devices.

	  These devices are based on the Alauda chip and support both
	  XD and SmartMedia cards.

	  If this driver is compiled as a module, it will be named ums-alauda.

config CONFIG_USB_STORAGE_ONETOUCH
	tristate "Support OneTouch Button on Maxtor Hard Drives"
	depends on CONFIG_INPUT=y || CONFIG_INPUT=CONFIG_USB_STORAGE
	help
	  Say Y here to include additional code to support the Maxtor OneTouch
	  CONFIG_USB hard drive's onetouch button.

	  This code registers the button on the front of Maxtor OneTouch CONFIG_USB
	  hard drive's as an input device. An action can be associated with
	  this input in any keybinding software. (e.g. gnome's keyboard short-
	  cuts)

	  If this driver is compiled as a module, it will be named ums-onetouch.

config CONFIG_USB_STORAGE_KARMA
	tristate "Support for Rio Karma music player"
	help
	  Say Y here to include additional code to support the Rio Karma
	  CONFIG_USB interface.

	  This code places the Rio Karma into mass storage mode, enabling
	  it to be mounted as an ordinary filesystem. Performing an eject
	  on the resulting scsi device node returns the Karma to normal
	  operation.

	  If this driver is compiled as a module, it will be named ums-karma.

config CONFIG_USB_STORAGE_CYPRESS_ATACB
	tristate "SAT emulation on Cypress USB/ATA Bridge with ATACB"
	---help---
	  Say Y here if you want to use SAT (ata pass through) on devices based
	  on the Cypress CONFIG_USB/CONFIG_ATA bridge supporting ATACB. This will allow you
	  to use tools to tune and monitor your drive (like hdparm or smartctl).

	  If you say no here your device will still work with the standard usb
	  mass storage class.

	  If this driver is compiled as a module, it will be named ums-cypress.

config CONFIG_USB_STORAGE_ENE_UB6250
	tristate "USB ENE card reader support"
	---help---
	  Say Y here if you wish to control a ENE SD/MS Card reader.
	  Note that this driver does not support SM cards.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called ums-eneub6250.

endif # CONFIG_USB_STORAGE

config CONFIG_USB_UAS
	tristate "USB Attached SCSI"
	depends on CONFIG_SCSI && CONFIG_USB_STORAGE
	help
	  The CONFIG_USB Attached CONFIG_SCSI protocol is supported by some CONFIG_USB
	  storage devices.  It permits higher performance by supporting
	  multiple outstanding commands.

	  If you don't know whether you have a UAS device, it is safe to
	  say 'Y' or 'CONFIG_M' here and the kernel will use the right driver.

	  If you compile this driver as a module, it will be named uas.