xref: /linux-6.15/drivers/block/Kconfig (revision d9b2a2bb)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Block device driver configuration
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6fd11d171SJan Engelhardtmenuconfig BLK_DEV
7fd11d171SJan Engelhardt	bool "Block devices"
8fd11d171SJan Engelhardt	depends on BLOCK
9fd11d171SJan Engelhardt	default y
10a7f7f624SMasahiro Yamada	help
1106bfb7ebSJan Engelhardt	  Say Y here to get to see options for various different block device
1206bfb7ebSJan Engelhardt	  drivers. This option alone does not add any kernel code.
1306bfb7ebSJan Engelhardt
1406bfb7ebSJan Engelhardt	  If you say N, all options in this submenu will be skipped and disabled;
1506bfb7ebSJan Engelhardt	  only do this if you know what you are doing.
169361401eSDavid Howells
17fd11d171SJan Engelhardtif BLK_DEV
181da177e4SLinus Torvalds
19eebf34a8SDamien Le Moalsource "drivers/block/null_blk/Kconfig"
20f2298c04SJens Axboe
211da177e4SLinus Torvaldsconfig BLK_DEV_FD
221da177e4SLinus Torvalds	tristate "Normal floppy disk support"
23a08b6b79S[email protected]	depends on ARCH_MAY_HAVE_PC_FDC
24a7f7f624SMasahiro Yamada	help
251da177e4SLinus Torvalds	  If you want to use the floppy disk drive(s) of your PC under Linux,
261da177e4SLinus Torvalds	  say Y. Information about this driver, especially important for IBM
2731c00fc1SRandy Dunlap	  Thinkpad users, is contained in
28e7751617SMauro Carvalho Chehab	  <file:Documentation/admin-guide/blockdev/floppy.rst>.
291da177e4SLinus Torvalds	  That file also contains the location of the Floppy driver FAQ as
301da177e4SLinus Torvalds	  well as location of the fdutils package used to configure additional
311da177e4SLinus Torvalds	  parameters of the driver at run time.
321da177e4SLinus Torvalds
331da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
341da177e4SLinus Torvalds	  module will be called floppy.
351da177e4SLinus Torvalds
361da177e4SLinus Torvaldsconfig AMIGA_FLOPPY
371da177e4SLinus Torvalds	tristate "Amiga floppy support"
381da177e4SLinus Torvalds	depends on AMIGA
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldsconfig ATARI_FLOPPY
411da177e4SLinus Torvalds	tristate "Atari floppy support"
421da177e4SLinus Torvalds	depends on ATARI
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldsconfig MAC_FLOPPY
451da177e4SLinus Torvalds	tristate "Support for PowerMac floppy"
461da177e4SLinus Torvalds	depends on PPC_PMAC && !PPC_PMAC64
471da177e4SLinus Torvalds	help
481da177e4SLinus Torvalds	  If you have a SWIM-3 (Super Woz Integrated Machine 3; from Apple)
491da177e4SLinus Torvalds	  floppy controller, say Y here. Most commonly found in PowerMacs.
501da177e4SLinus Torvalds
518852ecd9SLaurent Vivierconfig BLK_DEV_SWIM
528852ecd9SLaurent Vivier	tristate "Support for SWIM Macintosh floppy"
538852ecd9SLaurent Vivier	depends on M68K && MAC
548852ecd9SLaurent Vivier	help
558852ecd9SLaurent Vivier	  You should select this option if you want floppy support
568852ecd9SLaurent Vivier	  and you don't have a II, IIfx, Q900, Q950 or AV series.
578852ecd9SLaurent Vivier
581da177e4SLinus Torvaldsconfig AMIGA_Z2RAM
591da177e4SLinus Torvalds	tristate "Amiga Zorro II ramdisk support"
601da177e4SLinus Torvalds	depends on ZORRO
611da177e4SLinus Torvalds	help
621da177e4SLinus Torvalds	  This enables support for using Chip RAM and Zorro II RAM as a
631da177e4SLinus Torvalds	  ramdisk or as a swap partition. Say Y if you want to include this
641da177e4SLinus Torvalds	  driver in the kernel.
651da177e4SLinus Torvalds
661da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
671da177e4SLinus Torvalds	  module will be called z2ram.
681da177e4SLinus Torvalds
69*d9b2a2bbSLauri Kasanenconfig N64CART
70*d9b2a2bbSLauri Kasanen	bool "N64 cart support"
71*d9b2a2bbSLauri Kasanen	depends on MACH_NINTENDO64
72*d9b2a2bbSLauri Kasanen	help
73*d9b2a2bbSLauri Kasanen	  Support for the N64 cart.
74*d9b2a2bbSLauri Kasanen
752a750166SBart Van Asscheconfig CDROM
76a116895fSJens Axboe	tristate
774e178c17SKees Cook	select BLK_SCSI_REQUEST
782a750166SBart Van Assche
792395e463SRandy Dunlapconfig GDROM
802395e463SRandy Dunlap	tristate "SEGA Dreamcast GD-ROM drive"
812395e463SRandy Dunlap	depends on SH_DREAMCAST
822a750166SBart Van Assche	select CDROM
832395e463SRandy Dunlap	help
842395e463SRandy Dunlap	  A standard SEGA Dreamcast comes with a modified CD ROM drive called a
852395e463SRandy Dunlap	  "GD-ROM" by SEGA to signify it is capable of reading special disks
862395e463SRandy Dunlap	  with up to 1 GB of data. This drive will also read standard CD ROM
872395e463SRandy Dunlap	  disks. Select this option to access any disks in your GD ROM drive.
882395e463SRandy Dunlap	  Most users will want to say "Y" here.
892395e463SRandy Dunlap	  You can also build this as a module which will be called gdrom.
902395e463SRandy Dunlap
911da177e4SLinus Torvaldsconfig PARIDE
921da177e4SLinus Torvalds	tristate "Parallel port IDE device support"
936a19b41bSMarko Kohtala	depends on PARPORT_PC
94a7f7f624SMasahiro Yamada	help
951da177e4SLinus Torvalds	  There are many external CD-ROM and disk devices that connect through
961da177e4SLinus Torvalds	  your computer's parallel port. Most of them are actually IDE devices
971da177e4SLinus Torvalds	  using a parallel port IDE adapter. This option enables the PARIDE
981da177e4SLinus Torvalds	  subsystem which contains drivers for many of these external drives.
99e7751617SMauro Carvalho Chehab	  Read <file:Documentation/admin-guide/blockdev/paride.rst> for more information.
1001da177e4SLinus Torvalds
1011da177e4SLinus Torvalds	  If you have said Y to the "Parallel-port support" configuration
1021da177e4SLinus Torvalds	  option, you may share a single port between your printer and other
1031da177e4SLinus Torvalds	  parallel port devices. Answer Y to build PARIDE support into your
1041da177e4SLinus Torvalds	  kernel, or M if you would like to build it as a loadable module. If
1051da177e4SLinus Torvalds	  your parallel port support is in a loadable module, you must build
1061da177e4SLinus Torvalds	  PARIDE as a module. If you built PARIDE support into your kernel,
1071da177e4SLinus Torvalds	  you may still build the individual protocol modules and high-level
1081da177e4SLinus Torvalds	  drivers as loadable modules. If you build this support as a module,
1091da177e4SLinus Torvalds	  it will be called paride.
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvalds	  To use the PARIDE support, you must say Y or M here and also to at
1121da177e4SLinus Torvalds	  least one high-level driver (e.g. "Parallel port IDE disks",
1131da177e4SLinus Torvalds	  "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and
1141da177e4SLinus Torvalds	  to at least one protocol driver (e.g. "ATEN EH-100 protocol",
1151da177e4SLinus Torvalds	  "MicroSolutions backpack protocol", "DataStor Commuter protocol"
1161da177e4SLinus Torvalds	  etc.).
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvaldssource "drivers/block/paride/Kconfig"
1191da177e4SLinus Torvalds
12088523a61SSam Bradshawsource "drivers/block/mtip32xx/Kconfig"
12188523a61SSam Bradshaw
122cd67e10aSMinchan Kimsource "drivers/block/zram/Kconfig"
123cd67e10aSMinchan Kim
1241da177e4SLinus Torvaldsconfig BLK_DEV_UMEM
125b8977285SKees Cook	tristate "Micro Memory MM5415 Battery Backed RAM support"
126b8977285SKees Cook	depends on PCI
127a7f7f624SMasahiro Yamada	help
1281da177e4SLinus Torvalds	  Saying Y here will include support for the MM5415 family of
1291da177e4SLinus Torvalds	  battery backed (Non-volatile) RAM cards.
1301da177e4SLinus Torvalds	  <http://www.umem.com/>
1311da177e4SLinus Torvalds
1321da177e4SLinus Torvalds	  The cards appear as block devices that can be partitioned into
1331da177e4SLinus Torvalds	  as many as 15 partitions.
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1361da177e4SLinus Torvalds	  module will be called umem.
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvalds	  The umem driver has not yet been allocated a MAJOR number, so
139bf6ee0aeSAdrian Bunk	  one is chosen dynamically.
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldsconfig BLK_DEV_UBD
1421da177e4SLinus Torvalds	bool "Virtual block device"
1431da177e4SLinus Torvalds	depends on UML
144a7f7f624SMasahiro Yamada	help
1451da177e4SLinus Torvalds          The User-Mode Linux port includes a driver called UBD which will let
1461da177e4SLinus Torvalds          you access arbitrary files on the host computer as block devices.
1471da177e4SLinus Torvalds          Unless you know that you do not need such virtual block devices say
1481da177e4SLinus Torvalds          Y here.
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvaldsconfig BLK_DEV_UBD_SYNC
1511da177e4SLinus Torvalds	bool "Always do synchronous disk IO for UBD"
1521da177e4SLinus Torvalds	depends on BLK_DEV_UBD
153a7f7f624SMasahiro Yamada	help
1541da177e4SLinus Torvalds	  Writes to the virtual block device are not immediately written to the
1551da177e4SLinus Torvalds	  host's disk; this may cause problems if, for example, the User-Mode
1561da177e4SLinus Torvalds	  Linux 'Virtual Machine' uses a journalling filesystem and the host
1571da177e4SLinus Torvalds	  computer crashes.
1581da177e4SLinus Torvalds
1591da177e4SLinus Torvalds          Synchronous operation (i.e. always writing data to the host's disk
1601da177e4SLinus Torvalds          immediately) is configurable on a per-UBD basis by using a special
1611da177e4SLinus Torvalds          kernel command line option.  Alternatively, you can say Y here to
1621da177e4SLinus Torvalds          turn on synchronous operation by default for all block devices.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvalds          If you're running a journalling file system (like reiserfs, for
1651da177e4SLinus Torvalds          example) in your virtual machine, you will want to say Y here.  If
1661da177e4SLinus Torvalds          you care for the safety of the data in your virtual machine, Y is a
1671da177e4SLinus Torvalds          wise choice too.  In all other cases (for example, if you're just
1681da177e4SLinus Torvalds          playing around with User-Mode Linux) you can choose N.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvaldsconfig BLK_DEV_COW_COMMON
1711da177e4SLinus Torvalds	bool
1721da177e4SLinus Torvalds	default BLK_DEV_UBD
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvaldsconfig BLK_DEV_LOOP
1751da177e4SLinus Torvalds	tristate "Loopback device support"
176a7f7f624SMasahiro Yamada	help
1771da177e4SLinus Torvalds	  Saying Y here will allow you to use a regular file as a block
1781da177e4SLinus Torvalds	  device; you can then create a file system on that block device and
1791da177e4SLinus Torvalds	  mount it just as you would mount other block devices such as hard
1801da177e4SLinus Torvalds	  drive partitions, CD-ROM drives or floppy drives. The loop devices
1811da177e4SLinus Torvalds	  are block special device files with major number 7 and typically
1821da177e4SLinus Torvalds	  called /dev/loop0, /dev/loop1 etc.
1831da177e4SLinus Torvalds
1841da177e4SLinus Torvalds	  This is useful if you want to check an ISO 9660 file system before
1851da177e4SLinus Torvalds	  burning the CD, or if you want to use floppy images without first
1861da177e4SLinus Torvalds	  writing them to floppy. Furthermore, some Linux distributions avoid
1871da177e4SLinus Torvalds	  the need for a dedicated Linux partition by keeping their complete
1881da177e4SLinus Torvalds	  root file system inside a DOS FAT file using this loop device
1891da177e4SLinus Torvalds	  driver.
1901da177e4SLinus Torvalds
1911da177e4SLinus Torvalds	  To use the loop device, you need the losetup utility, found in the
1921da177e4SLinus Torvalds	  util-linux package, see
1934f6cce39SSeongJae Park	  <https://www.kernel.org/pub/linux/utils/util-linux/>.
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvalds	  The loop device driver can also be used to "hide" a file system in
1961da177e4SLinus Torvalds	  a disk partition, floppy, or regular file, either using encryption
1971da177e4SLinus Torvalds	  (scrambling the data) or steganography (hiding the data in the low
1981da177e4SLinus Torvalds	  bits of, say, a sound file). This is also safe if the file resides
1991da177e4SLinus Torvalds	  on a remote file server.
2001da177e4SLinus Torvalds
2011da177e4SLinus Torvalds	  There are several ways of encrypting disks. Some of these require
2021da177e4SLinus Torvalds	  kernel patches. The vanilla kernel offers the cryptoloop option
2031da177e4SLinus Torvalds	  and a Device Mapper target (which is superior, as it supports all
2041da177e4SLinus Torvalds	  file systems). If you want to use the cryptoloop, say Y to both
2051da177e4SLinus Torvalds	  LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
2061da177e4SLinus Torvalds	  or later) version of util-linux. Additionally, be aware that
2071da177e4SLinus Torvalds	  the cryptoloop is not safe for storing journaled filesystems.
2081da177e4SLinus Torvalds
2091da177e4SLinus Torvalds	  Note that this loop device has nothing to do with the loopback
2101da177e4SLinus Torvalds	  device used for network connections from the machine to itself.
2111da177e4SLinus Torvalds
2121da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2131da177e4SLinus Torvalds	  module will be called loop.
2141da177e4SLinus Torvalds
2151da177e4SLinus Torvalds	  Most users will answer N here.
2161da177e4SLinus Torvalds
217d134b00bSKay Sieversconfig BLK_DEV_LOOP_MIN_COUNT
218d134b00bSKay Sievers	int "Number of loop devices to pre-create at init time"
219d134b00bSKay Sievers	depends on BLK_DEV_LOOP
220d134b00bSKay Sievers	default 8
221d134b00bSKay Sievers	help
222d134b00bSKay Sievers	  Static number of loop devices to be unconditionally pre-created
223d134b00bSKay Sievers	  at init time.
224d134b00bSKay Sievers
225d134b00bSKay Sievers	  This default value can be overwritten on the kernel command
226d134b00bSKay Sievers	  line or with module-parameter loop.max_loop.
227d134b00bSKay Sievers
228d134b00bSKay Sievers	  The historic default is 8. If a late 2011 version of losetup(8)
229d134b00bSKay Sievers	  is used, it can be set to 0, since needed loop devices can be
230d134b00bSKay Sievers	  dynamically allocated with the /dev/loop-control interface.
231d134b00bSKay Sievers
2321da177e4SLinus Torvaldsconfig BLK_DEV_CRYPTOLOOP
2331da177e4SLinus Torvalds	tristate "Cryptoloop Support"
2341da177e4SLinus Torvalds	select CRYPTO
2358df3b0a2SHerbert Xu	select CRYPTO_CBC
2361da177e4SLinus Torvalds	depends on BLK_DEV_LOOP
237a7f7f624SMasahiro Yamada	help
2381da177e4SLinus Torvalds	  Say Y here if you want to be able to use the ciphers that are
2391da177e4SLinus Torvalds	  provided by the CryptoAPI as loop transformation. This might be
2401da177e4SLinus Torvalds	  used as hard disk encryption.
2411da177e4SLinus Torvalds
2421da177e4SLinus Torvalds	  WARNING: This device is not safe for journaled file systems like
2431da177e4SLinus Torvalds	  ext3 or Reiserfs. Please use the Device Mapper crypto module
2441da177e4SLinus Torvalds	  instead, which can be configured to be on-disk compatible with the
2451da177e4SLinus Torvalds	  cryptoloop device.
2461da177e4SLinus Torvalds
247b411b363SPhilipp Reisnersource "drivers/block/drbd/Kconfig"
248b411b363SPhilipp Reisner
2491da177e4SLinus Torvaldsconfig BLK_DEV_NBD
2501da177e4SLinus Torvalds	tristate "Network block device support"
2511da177e4SLinus Torvalds	depends on NET
252a7f7f624SMasahiro Yamada	help
2531da177e4SLinus Torvalds	  Saying Y here will allow your computer to be a client for network
2541da177e4SLinus Torvalds	  block devices, i.e. it will be able to use block devices exported by
2551da177e4SLinus Torvalds	  servers (mount file systems on them etc.). Communication between
2561da177e4SLinus Torvalds	  client and server works over TCP/IP networking, but to the client
2571da177e4SLinus Torvalds	  program this is hidden: it looks like a regular local file access to
2581da177e4SLinus Torvalds	  a block device special file such as /dev/nd0.
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvalds	  Network block devices also allows you to run a block-device in
2611da177e4SLinus Torvalds	  userland (making server and client physically the same computer,
2621da177e4SLinus Torvalds	  communicating using the loopback network device).
2631da177e4SLinus Torvalds
264e7751617SMauro Carvalho Chehab	  Read <file:Documentation/admin-guide/blockdev/nbd.rst> for more information,
26531c00fc1SRandy Dunlap	  especially about where to find the server code, which runs in user
26631c00fc1SRandy Dunlap	  space and does not need special kernel support.
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvalds	  Note that this has nothing to do with the network file systems NFS
2691da177e4SLinus Torvalds	  or Coda; you can say N here even if you intend to use NFS or Coda.
2701da177e4SLinus Torvalds
2711da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2721da177e4SLinus Torvalds	  module will be called nbd.
2731da177e4SLinus Torvalds
2741da177e4SLinus Torvalds	  If unsure, say N.
2751da177e4SLinus Torvalds
276e67f86b3SAkhil Bhansaliconfig BLK_DEV_SKD
277e67f86b3SAkhil Bhansali	tristate "STEC S1120 Block Driver"
278e67f86b3SAkhil Bhansali	depends on PCI
279e67f86b3SAkhil Bhansali	depends on 64BIT
280a7f7f624SMasahiro Yamada	help
281e67f86b3SAkhil Bhansali	Saying Y or M here will enable support for the
282e67f86b3SAkhil Bhansali	STEC, Inc. S1120 PCIe SSD.
283e67f86b3SAkhil Bhansali
284e67f86b3SAkhil Bhansali	Use device /dev/skd$N amd /dev/skd$Np$M.
285e67f86b3SAkhil Bhansali
2861da177e4SLinus Torvaldsconfig BLK_DEV_SX8
2871da177e4SLinus Torvalds	tristate "Promise SATA SX8 support"
2881da177e4SLinus Torvalds	depends on PCI
289a7f7f624SMasahiro Yamada	help
2901da177e4SLinus Torvalds	  Saying Y or M here will enable support for the
2911da177e4SLinus Torvalds	  Promise SATA SX8 controllers.
2921da177e4SLinus Torvalds
2931da177e4SLinus Torvalds	  Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldsconfig BLK_DEV_RAM
2969db5579bSNick Piggin	tristate "RAM block device support"
297a7f7f624SMasahiro Yamada	help
2981da177e4SLinus Torvalds	  Saying Y here will allow you to use a portion of your RAM memory as
2991da177e4SLinus Torvalds	  a block device, so that you can make file systems on it, read and
3001da177e4SLinus Torvalds	  write to it and do all the other things that you can do with normal
3011da177e4SLinus Torvalds	  block devices (such as hard drives). It is usually used to load and
3021da177e4SLinus Torvalds	  store a copy of a minimal root file system off of a floppy into RAM
3031da177e4SLinus Torvalds	  during the initial install of Linux.
3041da177e4SLinus Torvalds
30531c00fc1SRandy Dunlap	  Note that the kernel command line option "ramdisk=XX" is now obsolete.
306e7751617SMauro Carvalho Chehab	  For details, read <file:Documentation/admin-guide/blockdev/ramdisk.rst>.
3071da177e4SLinus Torvalds
3081da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
309a3b25d9bSFabian Frederick	  module will be called brd. An alias "rd" has been defined
310a3b25d9bSFabian Frederick	  for historical reasons.
3111da177e4SLinus Torvalds
3121da177e4SLinus Torvalds	  Most normal users won't need the RAM disk functionality, and can
3131da177e4SLinus Torvalds	  thus say N here.
3141da177e4SLinus Torvalds
3151da177e4SLinus Torvaldsconfig BLK_DEV_RAM_COUNT
316a687fb18SAdrian Bunk	int "Default number of RAM disks"
3171da177e4SLinus Torvalds	default "16"
318a687fb18SAdrian Bunk	depends on BLK_DEV_RAM
3191da177e4SLinus Torvalds	help
3202e977c85SPatrick Ringl	  The default value is 16 RAM disks. Change this if you know what you
3211da177e4SLinus Torvalds	  are doing. If you boot from a filesystem that needs to be extracted
3221da177e4SLinus Torvalds	  in memory, you will need at least one RAM disk (e.g. root on cramfs).
3231da177e4SLinus Torvalds
3241da177e4SLinus Torvaldsconfig BLK_DEV_RAM_SIZE
3251da177e4SLinus Torvalds	int "Default RAM disk size (kbytes)"
3261da177e4SLinus Torvalds	depends on BLK_DEV_RAM
3271da177e4SLinus Torvalds	default "4096"
3281da177e4SLinus Torvalds	help
3291da177e4SLinus Torvalds	  The default value is 4096 kilobytes. Only change this if you know
3302e977c85SPatrick Ringl	  what you are doing.
3311da177e4SLinus Torvalds
3321da177e4SLinus Torvaldsconfig CDROM_PKTCDVD
3335a8b187cSJens Axboe	tristate "Packet writing on CD/DVD media (DEPRECATED)"
3341da177e4SLinus Torvalds	depends on !UML
3352a750166SBart Van Assche	select CDROM
33672148aecSChristoph Hellwig	select BLK_SCSI_REQUEST
3371da177e4SLinus Torvalds	help
3385a8b187cSJens Axboe	  Note: This driver is deprecated and will be removed from the
3395a8b187cSJens Axboe	  kernel in the near future!
3405a8b187cSJens Axboe
3412d4eeec5SThomas Maier	  If you have a CDROM/DVD drive that supports packet writing, say
3422d4eeec5SThomas Maier	  Y to include support. It should work with any MMC/Mt Fuji
3432d4eeec5SThomas Maier	  compliant ATAPI or SCSI drive, which is just about any newer
3442d4eeec5SThomas Maier	  DVD/CD writer.
3451da177e4SLinus Torvalds
3462d4eeec5SThomas Maier	  Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
3472d4eeec5SThomas Maier	  is possible.
3481da177e4SLinus Torvalds	  DVD-RW disks must be in restricted overwrite mode.
3491da177e4SLinus Torvalds
3508ea61889SMauro Carvalho Chehab	  See the file <file:Documentation/cdrom/packet-writing.rst>
3512d4eeec5SThomas Maier	  for further information on the use of this driver.
3522d4eeec5SThomas Maier
3531da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3541da177e4SLinus Torvalds	  module will be called pktcdvd.
3551da177e4SLinus Torvalds
3561da177e4SLinus Torvaldsconfig CDROM_PKTCDVD_BUFFERS
3571da177e4SLinus Torvalds	int "Free buffers for data gathering"
3581da177e4SLinus Torvalds	depends on CDROM_PKTCDVD
3591da177e4SLinus Torvalds	default "8"
3601da177e4SLinus Torvalds	help
3611da177e4SLinus Torvalds	  This controls the maximum number of active concurrent packets. More
3621da177e4SLinus Torvalds	  concurrent packets can increase write performance, but also require
3631da177e4SLinus Torvalds	  more memory. Each concurrent packet will require approximately 64Kb
364e1bc89bcSPeter Osterlund	  of non-swappable kernel memory, memory which will be allocated when
365e1bc89bcSPeter Osterlund	  a disc is opened for writing.
3661da177e4SLinus Torvalds
3671da177e4SLinus Torvaldsconfig CDROM_PKTCDVD_WCACHE
368b8977285SKees Cook	bool "Enable write caching"
369b8977285SKees Cook	depends on CDROM_PKTCDVD
3701da177e4SLinus Torvalds	help
3711da177e4SLinus Torvalds	  If enabled, write caching will be set for the CD-R/W device. For now
3721da177e4SLinus Torvalds	  this option is dangerous unless the CD-RW media is known good, as we
3731da177e4SLinus Torvalds	  don't do deferred write error handling yet.
3741da177e4SLinus Torvalds
3751da177e4SLinus Torvaldsconfig ATA_OVER_ETH
3761da177e4SLinus Torvalds	tristate "ATA over Ethernet support"
3771da177e4SLinus Torvalds	depends on NET
3781da177e4SLinus Torvalds	help
3791da177e4SLinus Torvalds	This driver provides Support for ATA over Ethernet block
3801da177e4SLinus Torvalds	devices like the Coraid EtherDrive (R) Storage Blade.
3811da177e4SLinus Torvalds
382667ef3c3SDavid S. Millerconfig SUNVDC
383667ef3c3SDavid S. Miller	tristate "Sun Virtual Disk Client support"
384667ef3c3SDavid S. Miller	depends on SUN_LDOMS
385667ef3c3SDavid S. Miller	help
386667ef3c3SDavid S. Miller	  Support for virtual disk devices as a client under Sun
387667ef3c3SDavid S. Miller	  Logical Domains.
388667ef3c3SDavid S. Miller
38961d48c2cSMartin Schwidefskysource "drivers/s390/block/Kconfig"
39061d48c2cSMartin Schwidefsky
39174489a91SGrant Likelyconfig XILINX_SYSACE
39274489a91SGrant Likely	tristate "Xilinx SystemACE support"
3936fa612b5SMichal Simek	depends on 4xx || MICROBLAZE
39474489a91SGrant Likely	help
39574489a91SGrant Likely	  Include support for the Xilinx SystemACE CompactFlash interface
39674489a91SGrant Likely
3979f27ee59SJeremy Fitzhardingeconfig XEN_BLKDEV_FRONTEND
3989f27ee59SJeremy Fitzhardinge	tristate "Xen virtual block device support"
3999f27ee59SJeremy Fitzhardinge	depends on XEN
4009f27ee59SJeremy Fitzhardinge	default y
4012de06cc1SIan Campbell	select XEN_XENBUS_FRONTEND
4029f27ee59SJeremy Fitzhardinge	help
4039f27ee59SJeremy Fitzhardinge	  This driver implements the front-end of the Xen virtual
4049f27ee59SJeremy Fitzhardinge	  block device driver.  It communicates with a back-end driver
4059f27ee59SJeremy Fitzhardinge	  in another domain which drives the actual block device.
4069f27ee59SJeremy Fitzhardinge
407dfc07b13SKonrad Rzeszutek Wilkconfig XEN_BLKDEV_BACKEND
408ea5e1161SKonrad Rzeszutek Wilk	tristate "Xen block-device backend driver"
409dfc07b13SKonrad Rzeszutek Wilk	depends on XEN_BACKEND
410dfc07b13SKonrad Rzeszutek Wilk	help
411dfc07b13SKonrad Rzeszutek Wilk	  The block-device backend driver allows the kernel to export its
412dfc07b13SKonrad Rzeszutek Wilk	  block devices to other guests via a high-performance shared-memory
413dfc07b13SKonrad Rzeszutek Wilk	  interface.
414dfc07b13SKonrad Rzeszutek Wilk
415a4c34858SKonrad Rzeszutek Wilk	  The corresponding Linux frontend driver is enabled by the
416a4c34858SKonrad Rzeszutek Wilk	  CONFIG_XEN_BLKDEV_FRONTEND configuration option.
417a4c34858SKonrad Rzeszutek Wilk
418a4c34858SKonrad Rzeszutek Wilk	  The backend driver attaches itself to a any block device specified
419a4c34858SKonrad Rzeszutek Wilk	  in the XenBus configuration. There are no limits to what the block
420a4c34858SKonrad Rzeszutek Wilk	  device as long as it has a major and minor.
421a4c34858SKonrad Rzeszutek Wilk
422a4c34858SKonrad Rzeszutek Wilk	  If you are compiling a kernel to run in a Xen block backend driver
423a4c34858SKonrad Rzeszutek Wilk	  domain (often this is domain 0) you should say Y here. To
424a4c34858SKonrad Rzeszutek Wilk	  compile this driver as a module, chose M here: the module
425a4c34858SKonrad Rzeszutek Wilk	  will be called xen-blkback.
426a4c34858SKonrad Rzeszutek Wilk
427a4c34858SKonrad Rzeszutek Wilk
428e467cde2SRusty Russellconfig VIRTIO_BLK
429b8977285SKees Cook	tristate "Virtio block driver"
430b8977285SKees Cook	depends on VIRTIO
431a7f7f624SMasahiro Yamada	help
4320ad07ec1SAnthony Liguori	  This is the virtual block driver for virtio.  It can be used with
433ecda85e7SJuergen Gross          QEMU based VMMs (like KVM or Xen).  Say Y or M.
434e467cde2SRusty Russell
435602adf40SYehuda Sadehconfig BLK_DEV_RBD
436602adf40SYehuda Sadeh	tristate "Rados block device (RBD)"
437b8977285SKees Cook	depends on INET && BLOCK
438602adf40SYehuda Sadeh	select CEPH_LIB
439602adf40SYehuda Sadeh	select LIBCRC32C
440602adf40SYehuda Sadeh	select CRYPTO_AES
441602adf40SYehuda Sadeh	select CRYPTO
442602adf40SYehuda Sadeh	help
443602adf40SYehuda Sadeh	  Say Y here if you want include the Rados block device, which stripes
444602adf40SYehuda Sadeh	  a block device over objects stored in the Ceph distributed object
445602adf40SYehuda Sadeh	  store.
446602adf40SYehuda Sadeh
447602adf40SYehuda Sadeh	  More information at http://ceph.newdream.net/.
448602adf40SYehuda Sadeh
449602adf40SYehuda Sadeh	  If unsure, say N.
450602adf40SYehuda Sadeh
4518722ff8cS[email protected]config BLK_DEV_RSXX
452f730e3dcSPhilip J Kelleher	tristate "IBM Flash Adapter 900GB Full Height PCIe Device Driver"
4538722ff8cS[email protected]	depends on PCI
4548722ff8cS[email protected]	help
4558722ff8cS[email protected]	  Device driver for IBM's high speed PCIe SSD
456f730e3dcSPhilip J Kelleher	  storage device: Flash Adapter 900GB Full Height.
4578722ff8cS[email protected]
4588722ff8cS[email protected]	  To compile this driver as a module, choose M here: the
4598722ff8cS[email protected]	  module will be called rsxx.
4608722ff8cS[email protected]
461bc018853SJack Wangsource "drivers/block/rnbd/Kconfig"
462bc018853SJack Wang
463fd11d171SJan Engelhardtendif # BLK_DEV
464