xref: /linux-6.15/drivers/block/Kconfig (revision 06bfb7eb)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Block device driver configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5fd11d171SJan Engelhardtmenuconfig BLK_DEV
6fd11d171SJan Engelhardt	bool "Block devices"
7fd11d171SJan Engelhardt	depends on BLOCK
8fd11d171SJan Engelhardt	default y
9*06bfb7ebSJan Engelhardt	---help---
10*06bfb7ebSJan Engelhardt	  Say Y here to get to see options for various different block device
11*06bfb7ebSJan Engelhardt	  drivers. This option alone does not add any kernel code.
12*06bfb7ebSJan Engelhardt
13*06bfb7ebSJan Engelhardt	  If you say N, all options in this submenu will be skipped and disabled;
14*06bfb7ebSJan Engelhardt	  only do this if you know what you are doing.
159361401eSDavid Howells
16fd11d171SJan Engelhardtif BLK_DEV
171da177e4SLinus Torvalds
181da177e4SLinus Torvaldsconfig BLK_DEV_FD
191da177e4SLinus Torvalds	tristate "Normal floppy disk support"
20a08b6b79S[email protected]	depends on ARCH_MAY_HAVE_PC_FDC
211da177e4SLinus Torvalds	---help---
221da177e4SLinus Torvalds	  If you want to use the floppy disk drive(s) of your PC under Linux,
231da177e4SLinus Torvalds	  say Y. Information about this driver, especially important for IBM
241da177e4SLinus Torvalds	  Thinkpad users, is contained in <file:Documentation/floppy.txt>.
251da177e4SLinus Torvalds	  That file also contains the location of the Floppy driver FAQ as
261da177e4SLinus Torvalds	  well as location of the fdutils package used to configure additional
271da177e4SLinus Torvalds	  parameters of the driver at run time.
281da177e4SLinus Torvalds
291da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
301da177e4SLinus Torvalds	  module will be called floppy.
311da177e4SLinus Torvalds
321da177e4SLinus Torvaldsconfig AMIGA_FLOPPY
331da177e4SLinus Torvalds	tristate "Amiga floppy support"
341da177e4SLinus Torvalds	depends on AMIGA
351da177e4SLinus Torvalds
361da177e4SLinus Torvaldsconfig ATARI_FLOPPY
371da177e4SLinus Torvalds	tristate "Atari floppy support"
381da177e4SLinus Torvalds	depends on ATARI
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldsconfig MAC_FLOPPY
411da177e4SLinus Torvalds	tristate "Support for PowerMac floppy"
421da177e4SLinus Torvalds	depends on PPC_PMAC && !PPC_PMAC64
431da177e4SLinus Torvalds	help
441da177e4SLinus Torvalds	  If you have a SWIM-3 (Super Woz Integrated Machine 3; from Apple)
451da177e4SLinus Torvalds	  floppy controller, say Y here. Most commonly found in PowerMacs.
461da177e4SLinus Torvalds
471da177e4SLinus Torvaldsconfig BLK_DEV_PS2
481da177e4SLinus Torvalds	tristate "PS/2 ESDI hard disk support"
491da177e4SLinus Torvalds	depends on MCA && MCA_LEGACY && BROKEN
501da177e4SLinus Torvalds	help
511da177e4SLinus Torvalds	  Say Y here if you have a PS/2 machine with a MCA bus and an ESDI
521da177e4SLinus Torvalds	  hard disk.
531da177e4SLinus Torvalds
541da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
551da177e4SLinus Torvalds	  module will be called ps2esdi.
561da177e4SLinus Torvalds
571da177e4SLinus Torvaldsconfig AMIGA_Z2RAM
581da177e4SLinus Torvalds	tristate "Amiga Zorro II ramdisk support"
591da177e4SLinus Torvalds	depends on ZORRO
601da177e4SLinus Torvalds	help
611da177e4SLinus Torvalds	  This enables support for using Chip RAM and Zorro II RAM as a
621da177e4SLinus Torvalds	  ramdisk or as a swap partition. Say Y if you want to include this
631da177e4SLinus Torvalds	  driver in the kernel.
641da177e4SLinus Torvalds
651da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
661da177e4SLinus Torvalds	  module will be called z2ram.
671da177e4SLinus Torvalds
681da177e4SLinus Torvaldsconfig BLK_DEV_XD
691da177e4SLinus Torvalds	tristate "XT hard disk support"
70a5532606SAl Viro	depends on ISA && ISA_DMA_API
711da177e4SLinus Torvalds	help
721da177e4SLinus Torvalds	  Very old 8 bit hard disk controllers used in the IBM XT computer
731da177e4SLinus Torvalds	  will be supported if you say Y here.
741da177e4SLinus Torvalds
751da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
761da177e4SLinus Torvalds	  module will be called xd.
771da177e4SLinus Torvalds
781da177e4SLinus Torvalds	  It's pretty unlikely that you have one of these: say N.
791da177e4SLinus Torvalds
801da177e4SLinus Torvaldsconfig PARIDE
811da177e4SLinus Torvalds	tristate "Parallel port IDE device support"
826a19b41bSMarko Kohtala	depends on PARPORT_PC
831da177e4SLinus Torvalds	---help---
841da177e4SLinus Torvalds	  There are many external CD-ROM and disk devices that connect through
851da177e4SLinus Torvalds	  your computer's parallel port. Most of them are actually IDE devices
861da177e4SLinus Torvalds	  using a parallel port IDE adapter. This option enables the PARIDE
871da177e4SLinus Torvalds	  subsystem which contains drivers for many of these external drives.
881da177e4SLinus Torvalds	  Read <file:Documentation/paride.txt> for more information.
891da177e4SLinus Torvalds
901da177e4SLinus Torvalds	  If you have said Y to the "Parallel-port support" configuration
911da177e4SLinus Torvalds	  option, you may share a single port between your printer and other
921da177e4SLinus Torvalds	  parallel port devices. Answer Y to build PARIDE support into your
931da177e4SLinus Torvalds	  kernel, or M if you would like to build it as a loadable module. If
941da177e4SLinus Torvalds	  your parallel port support is in a loadable module, you must build
951da177e4SLinus Torvalds	  PARIDE as a module. If you built PARIDE support into your kernel,
961da177e4SLinus Torvalds	  you may still build the individual protocol modules and high-level
971da177e4SLinus Torvalds	  drivers as loadable modules. If you build this support as a module,
981da177e4SLinus Torvalds	  it will be called paride.
991da177e4SLinus Torvalds
1001da177e4SLinus Torvalds	  To use the PARIDE support, you must say Y or M here and also to at
1011da177e4SLinus Torvalds	  least one high-level driver (e.g. "Parallel port IDE disks",
1021da177e4SLinus Torvalds	  "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and
1031da177e4SLinus Torvalds	  to at least one protocol driver (e.g. "ATEN EH-100 protocol",
1041da177e4SLinus Torvalds	  "MicroSolutions backpack protocol", "DataStor Commuter protocol"
1051da177e4SLinus Torvalds	  etc.).
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvaldssource "drivers/block/paride/Kconfig"
1081da177e4SLinus Torvalds
1091da177e4SLinus Torvaldsconfig BLK_CPQ_DA
1101da177e4SLinus Torvalds	tristate "Compaq SMART2 support"
111f057eac0SStephen Rothwell	depends on PCI && VIRT_TO_BUS
1121da177e4SLinus Torvalds	help
1131da177e4SLinus Torvalds	  This is the driver for Compaq Smart Array controllers.  Everyone
1141da177e4SLinus Torvalds	  using these boards should say Y here.  See the file
1151da177e4SLinus Torvalds	  <file:Documentation/cpqarray.txt> for the current list of boards
1161da177e4SLinus Torvalds	  supported by this driver, and for further information on the use of
1171da177e4SLinus Torvalds	  this driver.
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvaldsconfig BLK_CPQ_CISS_DA
1201da177e4SLinus Torvalds	tristate "Compaq Smart Array 5xxx support"
1211da177e4SLinus Torvalds	depends on PCI
1221da177e4SLinus Torvalds	help
1231da177e4SLinus Torvalds	  This is the driver for Compaq Smart Array 5xxx controllers.
1241da177e4SLinus Torvalds	  Everyone using these boards should say Y here.
1251da177e4SLinus Torvalds	  See <file:Documentation/cciss.txt> for the current list of
1261da177e4SLinus Torvalds	  boards supported by this driver, and for further information
1271da177e4SLinus Torvalds	  on the use of this driver.
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvaldsconfig CISS_SCSI_TAPE
1301da177e4SLinus Torvalds	bool "SCSI tape drive support for Smart Array 5xxx"
1313e29fe83SRandy Dunlap	depends on BLK_CPQ_CISS_DA && PROC_FS
1323e29fe83SRandy Dunlap	depends on SCSI=y || SCSI=BLK_CPQ_CISS_DA
1331da177e4SLinus Torvalds	help
1341da177e4SLinus Torvalds	  When enabled (Y), this option allows SCSI tape drives and SCSI medium
1351da177e4SLinus Torvalds	  changers (tape robots) to be accessed via a Compaq 5xxx array
1361da177e4SLinus Torvalds	  controller.  (See <file:Documentation/cciss.txt> for more details.)
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvalds	  "SCSI support" and "SCSI tape support" must also be enabled for this
1391da177e4SLinus Torvalds	  option to work.
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvalds	  When this option is disabled (N), the SCSI portion of the driver
1421da177e4SLinus Torvalds	  is not compiled.
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvaldsconfig BLK_DEV_DAC960
1451da177e4SLinus Torvalds	tristate "Mylex DAC960/DAC1100 PCI RAID Controller support"
1461da177e4SLinus Torvalds	depends on PCI
1471da177e4SLinus Torvalds	help
1481da177e4SLinus Torvalds	  This driver adds support for the Mylex DAC960, AcceleRAID, and
1491da177e4SLinus Torvalds	  eXtremeRAID PCI RAID controllers.  See the file
1501da177e4SLinus Torvalds	  <file:Documentation/README.DAC960> for further information about
1511da177e4SLinus Torvalds	  this driver.
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1541da177e4SLinus Torvalds	  module will be called DAC960.
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvaldsconfig BLK_DEV_UMEM
1571da177e4SLinus Torvalds	tristate "Micro Memory MM5415 Battery Backed RAM support (EXPERIMENTAL)"
1581da177e4SLinus Torvalds	depends on PCI && EXPERIMENTAL
1591da177e4SLinus Torvalds	---help---
1601da177e4SLinus Torvalds	  Saying Y here will include support for the MM5415 family of
1611da177e4SLinus Torvalds	  battery backed (Non-volatile) RAM cards.
1621da177e4SLinus Torvalds	  <http://www.umem.com/>
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvalds	  The cards appear as block devices that can be partitioned into
1651da177e4SLinus Torvalds	  as many as 15 partitions.
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1681da177e4SLinus Torvalds	  module will be called umem.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvalds	  The umem driver has not yet been allocated a MAJOR number, so
171bf6ee0aeSAdrian Bunk	  one is chosen dynamically.
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvaldsconfig BLK_DEV_UBD
1741da177e4SLinus Torvalds	bool "Virtual block device"
1751da177e4SLinus Torvalds	depends on UML
1761da177e4SLinus Torvalds	---help---
1771da177e4SLinus Torvalds          The User-Mode Linux port includes a driver called UBD which will let
1781da177e4SLinus Torvalds          you access arbitrary files on the host computer as block devices.
1791da177e4SLinus Torvalds          Unless you know that you do not need such virtual block devices say
1801da177e4SLinus Torvalds          Y here.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvaldsconfig BLK_DEV_UBD_SYNC
1831da177e4SLinus Torvalds	bool "Always do synchronous disk IO for UBD"
1841da177e4SLinus Torvalds	depends on BLK_DEV_UBD
1851da177e4SLinus Torvalds	---help---
1861da177e4SLinus Torvalds	  Writes to the virtual block device are not immediately written to the
1871da177e4SLinus Torvalds	  host's disk; this may cause problems if, for example, the User-Mode
1881da177e4SLinus Torvalds	  Linux 'Virtual Machine' uses a journalling filesystem and the host
1891da177e4SLinus Torvalds	  computer crashes.
1901da177e4SLinus Torvalds
1911da177e4SLinus Torvalds          Synchronous operation (i.e. always writing data to the host's disk
1921da177e4SLinus Torvalds          immediately) is configurable on a per-UBD basis by using a special
1931da177e4SLinus Torvalds          kernel command line option.  Alternatively, you can say Y here to
1941da177e4SLinus Torvalds          turn on synchronous operation by default for all block devices.
1951da177e4SLinus Torvalds
1961da177e4SLinus Torvalds          If you're running a journalling file system (like reiserfs, for
1971da177e4SLinus Torvalds          example) in your virtual machine, you will want to say Y here.  If
1981da177e4SLinus Torvalds          you care for the safety of the data in your virtual machine, Y is a
1991da177e4SLinus Torvalds          wise choice too.  In all other cases (for example, if you're just
2001da177e4SLinus Torvalds          playing around with User-Mode Linux) you can choose N.
2011da177e4SLinus Torvalds
2021da177e4SLinus Torvaldsconfig BLK_DEV_COW_COMMON
2031da177e4SLinus Torvalds	bool
2041da177e4SLinus Torvalds	default BLK_DEV_UBD
2051da177e4SLinus Torvalds
2061da177e4SLinus Torvaldsconfig MMAPPER
2071da177e4SLinus Torvalds	tristate "Example IO memory driver (BROKEN)"
2081da177e4SLinus Torvalds	depends on UML && BROKEN
2091da177e4SLinus Torvalds	---help---
2101da177e4SLinus Torvalds          The User-Mode Linux port can provide support for IO Memory
2111da177e4SLinus Torvalds          emulation with this option.  This allows a host file to be
2121da177e4SLinus Torvalds          specified as an I/O region on the kernel command line. That file
2131da177e4SLinus Torvalds          will be mapped into UML's kernel address space where a driver can
2141da177e4SLinus Torvalds          locate it and do whatever it wants with the memory, including
2151da177e4SLinus Torvalds          providing an interface to it for UML processes to use.
2161da177e4SLinus Torvalds
2171da177e4SLinus Torvalds          For more information, see
2181da177e4SLinus Torvalds          <http://user-mode-linux.sourceforge.net/iomem.html>.
2191da177e4SLinus Torvalds
2201da177e4SLinus Torvalds          If you'd like to be able to provide a simulated IO port space for
2211da177e4SLinus Torvalds          User-Mode Linux processes, say Y.  If unsure, say N.
2221da177e4SLinus Torvalds
2231da177e4SLinus Torvaldsconfig BLK_DEV_LOOP
2241da177e4SLinus Torvalds	tristate "Loopback device support"
2251da177e4SLinus Torvalds	---help---
2261da177e4SLinus Torvalds	  Saying Y here will allow you to use a regular file as a block
2271da177e4SLinus Torvalds	  device; you can then create a file system on that block device and
2281da177e4SLinus Torvalds	  mount it just as you would mount other block devices such as hard
2291da177e4SLinus Torvalds	  drive partitions, CD-ROM drives or floppy drives. The loop devices
2301da177e4SLinus Torvalds	  are block special device files with major number 7 and typically
2311da177e4SLinus Torvalds	  called /dev/loop0, /dev/loop1 etc.
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvalds	  This is useful if you want to check an ISO 9660 file system before
2341da177e4SLinus Torvalds	  burning the CD, or if you want to use floppy images without first
2351da177e4SLinus Torvalds	  writing them to floppy. Furthermore, some Linux distributions avoid
2361da177e4SLinus Torvalds	  the need for a dedicated Linux partition by keeping their complete
2371da177e4SLinus Torvalds	  root file system inside a DOS FAT file using this loop device
2381da177e4SLinus Torvalds	  driver.
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvalds	  To use the loop device, you need the losetup utility, found in the
2411da177e4SLinus Torvalds	  util-linux package, see
2421da177e4SLinus Torvalds	  <ftp://ftp.kernel.org/pub/linux/utils/util-linux/>.
2431da177e4SLinus Torvalds
2441da177e4SLinus Torvalds	  The loop device driver can also be used to "hide" a file system in
2451da177e4SLinus Torvalds	  a disk partition, floppy, or regular file, either using encryption
2461da177e4SLinus Torvalds	  (scrambling the data) or steganography (hiding the data in the low
2471da177e4SLinus Torvalds	  bits of, say, a sound file). This is also safe if the file resides
2481da177e4SLinus Torvalds	  on a remote file server.
2491da177e4SLinus Torvalds
2501da177e4SLinus Torvalds	  There are several ways of encrypting disks. Some of these require
2511da177e4SLinus Torvalds	  kernel patches. The vanilla kernel offers the cryptoloop option
2521da177e4SLinus Torvalds	  and a Device Mapper target (which is superior, as it supports all
2531da177e4SLinus Torvalds	  file systems). If you want to use the cryptoloop, say Y to both
2541da177e4SLinus Torvalds	  LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
2551da177e4SLinus Torvalds	  or later) version of util-linux. Additionally, be aware that
2561da177e4SLinus Torvalds	  the cryptoloop is not safe for storing journaled filesystems.
2571da177e4SLinus Torvalds
2581da177e4SLinus Torvalds	  Note that this loop device has nothing to do with the loopback
2591da177e4SLinus Torvalds	  device used for network connections from the machine to itself.
2601da177e4SLinus Torvalds
2611da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2621da177e4SLinus Torvalds	  module will be called loop.
2631da177e4SLinus Torvalds
2641da177e4SLinus Torvalds	  Most users will answer N here.
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvaldsconfig BLK_DEV_CRYPTOLOOP
2671da177e4SLinus Torvalds	tristate "Cryptoloop Support"
2681da177e4SLinus Torvalds	select CRYPTO
2698df3b0a2SHerbert Xu	select CRYPTO_CBC
2701da177e4SLinus Torvalds	depends on BLK_DEV_LOOP
2711da177e4SLinus Torvalds	---help---
2721da177e4SLinus Torvalds	  Say Y here if you want to be able to use the ciphers that are
2731da177e4SLinus Torvalds	  provided by the CryptoAPI as loop transformation. This might be
2741da177e4SLinus Torvalds	  used as hard disk encryption.
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvalds	  WARNING: This device is not safe for journaled file systems like
2771da177e4SLinus Torvalds	  ext3 or Reiserfs. Please use the Device Mapper crypto module
2781da177e4SLinus Torvalds	  instead, which can be configured to be on-disk compatible with the
2791da177e4SLinus Torvalds	  cryptoloop device.
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvaldsconfig BLK_DEV_NBD
2821da177e4SLinus Torvalds	tristate "Network block device support"
2831da177e4SLinus Torvalds	depends on NET
2841da177e4SLinus Torvalds	---help---
2851da177e4SLinus Torvalds	  Saying Y here will allow your computer to be a client for network
2861da177e4SLinus Torvalds	  block devices, i.e. it will be able to use block devices exported by
2871da177e4SLinus Torvalds	  servers (mount file systems on them etc.). Communication between
2881da177e4SLinus Torvalds	  client and server works over TCP/IP networking, but to the client
2891da177e4SLinus Torvalds	  program this is hidden: it looks like a regular local file access to
2901da177e4SLinus Torvalds	  a block device special file such as /dev/nd0.
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvalds	  Network block devices also allows you to run a block-device in
2931da177e4SLinus Torvalds	  userland (making server and client physically the same computer,
2941da177e4SLinus Torvalds	  communicating using the loopback network device).
2951da177e4SLinus Torvalds
2961da177e4SLinus Torvalds	  Read <file:Documentation/nbd.txt> for more information, especially
2971da177e4SLinus Torvalds	  about where to find the server code, which runs in user space and
2981da177e4SLinus Torvalds	  does not need special kernel support.
2991da177e4SLinus Torvalds
3001da177e4SLinus Torvalds	  Note that this has nothing to do with the network file systems NFS
3011da177e4SLinus Torvalds	  or Coda; you can say N here even if you intend to use NFS or Coda.
3021da177e4SLinus Torvalds
3031da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3041da177e4SLinus Torvalds	  module will be called nbd.
3051da177e4SLinus Torvalds
3061da177e4SLinus Torvalds	  If unsure, say N.
3071da177e4SLinus Torvalds
3081da177e4SLinus Torvaldsconfig BLK_DEV_SX8
3091da177e4SLinus Torvalds	tristate "Promise SATA SX8 support"
3101da177e4SLinus Torvalds	depends on PCI
3111da177e4SLinus Torvalds	---help---
3121da177e4SLinus Torvalds	  Saying Y or M here will enable support for the
3131da177e4SLinus Torvalds	  Promise SATA SX8 controllers.
3141da177e4SLinus Torvalds
3151da177e4SLinus Torvalds	  Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
3161da177e4SLinus Torvalds
3171da177e4SLinus Torvaldsconfig BLK_DEV_UB
3181da177e4SLinus Torvalds	tristate "Low Performance USB Block driver"
3191da177e4SLinus Torvalds	depends on USB
3201da177e4SLinus Torvalds	help
3211da177e4SLinus Torvalds	  This driver supports certain USB attached storage devices
3221da177e4SLinus Torvalds	  such as flash keys.
3231da177e4SLinus Torvalds
324a00828e9SPete Zaitcev	  If you enable this driver, it is recommended to avoid conflicts
325a00828e9SPete Zaitcev	  with usb-storage by enabling USB_LIBUSUAL.
3261da177e4SLinus Torvalds
3271da177e4SLinus Torvalds	  If unsure, say N.
3281da177e4SLinus Torvalds
3291da177e4SLinus Torvaldsconfig BLK_DEV_RAM
3301da177e4SLinus Torvalds	tristate "RAM disk support"
3311da177e4SLinus Torvalds	---help---
3321da177e4SLinus Torvalds	  Saying Y here will allow you to use a portion of your RAM memory as
3331da177e4SLinus Torvalds	  a block device, so that you can make file systems on it, read and
3341da177e4SLinus Torvalds	  write to it and do all the other things that you can do with normal
3351da177e4SLinus Torvalds	  block devices (such as hard drives). It is usually used to load and
3361da177e4SLinus Torvalds	  store a copy of a minimal root file system off of a floppy into RAM
3371da177e4SLinus Torvalds	  during the initial install of Linux.
3381da177e4SLinus Torvalds
3391da177e4SLinus Torvalds	  Note that the kernel command line option "ramdisk=XX" is now
3401da177e4SLinus Torvalds	  obsolete. For details, read <file:Documentation/ramdisk.txt>.
3411da177e4SLinus Torvalds
3421da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3431da177e4SLinus Torvalds	  module will be called rd.
3441da177e4SLinus Torvalds
3451da177e4SLinus Torvalds	  Most normal users won't need the RAM disk functionality, and can
3461da177e4SLinus Torvalds	  thus say N here.
3471da177e4SLinus Torvalds
3481da177e4SLinus Torvaldsconfig BLK_DEV_RAM_COUNT
349a687fb18SAdrian Bunk	int "Default number of RAM disks"
3501da177e4SLinus Torvalds	default "16"
351a687fb18SAdrian Bunk	depends on BLK_DEV_RAM
3521da177e4SLinus Torvalds	help
3531da177e4SLinus Torvalds	  The default value is 16 RAM disks. Change this if you know what
3541da177e4SLinus Torvalds	  are doing. If you boot from a filesystem that needs to be extracted
3551da177e4SLinus Torvalds	  in memory, you will need at least one RAM disk (e.g. root on cramfs).
3561da177e4SLinus Torvalds
3571da177e4SLinus Torvaldsconfig BLK_DEV_RAM_SIZE
3581da177e4SLinus Torvalds	int "Default RAM disk size (kbytes)"
3591da177e4SLinus Torvalds	depends on BLK_DEV_RAM
3601da177e4SLinus Torvalds	default "4096"
3611da177e4SLinus Torvalds	help
3621da177e4SLinus Torvalds	  The default value is 4096 kilobytes. Only change this if you know
3631da177e4SLinus Torvalds	  what are you doing. If you are using IBM S/390, then set this to
3641da177e4SLinus Torvalds	  8192.
3651da177e4SLinus Torvalds
366bef317e3SNathan Scottconfig BLK_DEV_RAM_BLOCKSIZE
367bef317e3SNathan Scott	int "Default RAM disk block size (bytes)"
368bef317e3SNathan Scott	depends on BLK_DEV_RAM
369bef317e3SNathan Scott	default "1024"
370bef317e3SNathan Scott	help
37173cf9630SChristian Borntraeger	  The default value is 1024 bytes.  PAGE_SIZE is a much more
372bef317e3SNathan Scott	  efficient choice however.  The default is kept to ensure initrd
373bef317e3SNathan Scott	  setups function - apparently needed by the rd_load_image routine
374bef317e3SNathan Scott	  that supposes the filesystem in the image uses a 1024 blocksize.
375bef317e3SNathan Scott
3761da177e4SLinus Torvaldsconfig CDROM_PKTCDVD
3771da177e4SLinus Torvalds	tristate "Packet writing on CD/DVD media"
3781da177e4SLinus Torvalds	depends on !UML
3791da177e4SLinus Torvalds	help
3802d4eeec5SThomas Maier	  If you have a CDROM/DVD drive that supports packet writing, say
3812d4eeec5SThomas Maier	  Y to include support. It should work with any MMC/Mt Fuji
3822d4eeec5SThomas Maier	  compliant ATAPI or SCSI drive, which is just about any newer
3832d4eeec5SThomas Maier	  DVD/CD writer.
3841da177e4SLinus Torvalds
3852d4eeec5SThomas Maier	  Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
3862d4eeec5SThomas Maier	  is possible.
3871da177e4SLinus Torvalds	  DVD-RW disks must be in restricted overwrite mode.
3881da177e4SLinus Torvalds
3892d4eeec5SThomas Maier	  See the file <file:Documentation/cdrom/packet-writing.txt>
3902d4eeec5SThomas Maier	  for further information on the use of this driver.
3912d4eeec5SThomas Maier
3921da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3931da177e4SLinus Torvalds	  module will be called pktcdvd.
3941da177e4SLinus Torvalds
3951da177e4SLinus Torvaldsconfig CDROM_PKTCDVD_BUFFERS
3961da177e4SLinus Torvalds	int "Free buffers for data gathering"
3971da177e4SLinus Torvalds	depends on CDROM_PKTCDVD
3981da177e4SLinus Torvalds	default "8"
3991da177e4SLinus Torvalds	help
4001da177e4SLinus Torvalds	  This controls the maximum number of active concurrent packets. More
4011da177e4SLinus Torvalds	  concurrent packets can increase write performance, but also require
4021da177e4SLinus Torvalds	  more memory. Each concurrent packet will require approximately 64Kb
403e1bc89bcSPeter Osterlund	  of non-swappable kernel memory, memory which will be allocated when
404e1bc89bcSPeter Osterlund	  a disc is opened for writing.
4051da177e4SLinus Torvalds
4061da177e4SLinus Torvaldsconfig CDROM_PKTCDVD_WCACHE
407b566ccefSAdrian Bunk	bool "Enable write caching (EXPERIMENTAL)"
408b566ccefSAdrian Bunk	depends on CDROM_PKTCDVD && EXPERIMENTAL
4091da177e4SLinus Torvalds	help
4101da177e4SLinus Torvalds	  If enabled, write caching will be set for the CD-R/W device. For now
4111da177e4SLinus Torvalds	  this option is dangerous unless the CD-RW media is known good, as we
4121da177e4SLinus Torvalds	  don't do deferred write error handling yet.
4131da177e4SLinus Torvalds
4141da177e4SLinus Torvaldsconfig ATA_OVER_ETH
4151da177e4SLinus Torvalds	tristate "ATA over Ethernet support"
4161da177e4SLinus Torvalds	depends on NET
4171da177e4SLinus Torvalds	help
4181da177e4SLinus Torvalds	This driver provides Support for ATA over Ethernet block
4191da177e4SLinus Torvalds	devices like the Coraid EtherDrive (R) Storage Blade.
4201da177e4SLinus Torvalds
421667ef3c3SDavid S. Millerconfig SUNVDC
422667ef3c3SDavid S. Miller	tristate "Sun Virtual Disk Client support"
423667ef3c3SDavid S. Miller	depends on SUN_LDOMS
424667ef3c3SDavid S. Miller	help
425667ef3c3SDavid S. Miller	  Support for virtual disk devices as a client under Sun
426667ef3c3SDavid S. Miller	  Logical Domains.
427667ef3c3SDavid S. Miller
42861d48c2cSMartin Schwidefskysource "drivers/s390/block/Kconfig"
42961d48c2cSMartin Schwidefsky
43074489a91SGrant Likelyconfig XILINX_SYSACE
43174489a91SGrant Likely	tristate "Xilinx SystemACE support"
43274489a91SGrant Likely	depends on 4xx
43374489a91SGrant Likely	help
43474489a91SGrant Likely	  Include support for the Xilinx SystemACE CompactFlash interface
43574489a91SGrant Likely
4369f27ee59SJeremy Fitzhardingeconfig XEN_BLKDEV_FRONTEND
4379f27ee59SJeremy Fitzhardinge	tristate "Xen virtual block device support"
4389f27ee59SJeremy Fitzhardinge	depends on XEN
4399f27ee59SJeremy Fitzhardinge	default y
4409f27ee59SJeremy Fitzhardinge	help
4419f27ee59SJeremy Fitzhardinge	  This driver implements the front-end of the Xen virtual
4429f27ee59SJeremy Fitzhardinge	  block device driver.  It communicates with a back-end driver
4439f27ee59SJeremy Fitzhardinge	  in another domain which drives the actual block device.
4449f27ee59SJeremy Fitzhardinge
445fd11d171SJan Engelhardtendif # BLK_DEV
446