xref: /linux-6.15/drivers/block/Kconfig (revision eebf34a8)
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
19*eebf34a8SDamien 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
692a750166SBart Van Asscheconfig CDROM
70a116895fSJens Axboe	tristate
714e178c17SKees Cook	select BLK_SCSI_REQUEST
722a750166SBart Van Assche
732395e463SRandy Dunlapconfig GDROM
742395e463SRandy Dunlap	tristate "SEGA Dreamcast GD-ROM drive"
752395e463SRandy Dunlap	depends on SH_DREAMCAST
762a750166SBart Van Assche	select CDROM
772395e463SRandy Dunlap	help
782395e463SRandy Dunlap	  A standard SEGA Dreamcast comes with a modified CD ROM drive called a
792395e463SRandy Dunlap	  "GD-ROM" by SEGA to signify it is capable of reading special disks
802395e463SRandy Dunlap	  with up to 1 GB of data. This drive will also read standard CD ROM
812395e463SRandy Dunlap	  disks. Select this option to access any disks in your GD ROM drive.
822395e463SRandy Dunlap	  Most users will want to say "Y" here.
832395e463SRandy Dunlap	  You can also build this as a module which will be called gdrom.
842395e463SRandy Dunlap
851da177e4SLinus Torvaldsconfig PARIDE
861da177e4SLinus Torvalds	tristate "Parallel port IDE device support"
876a19b41bSMarko Kohtala	depends on PARPORT_PC
88a7f7f624SMasahiro Yamada	help
891da177e4SLinus Torvalds	  There are many external CD-ROM and disk devices that connect through
901da177e4SLinus Torvalds	  your computer's parallel port. Most of them are actually IDE devices
911da177e4SLinus Torvalds	  using a parallel port IDE adapter. This option enables the PARIDE
921da177e4SLinus Torvalds	  subsystem which contains drivers for many of these external drives.
93e7751617SMauro Carvalho Chehab	  Read <file:Documentation/admin-guide/blockdev/paride.rst> for more information.
941da177e4SLinus Torvalds
951da177e4SLinus Torvalds	  If you have said Y to the "Parallel-port support" configuration
961da177e4SLinus Torvalds	  option, you may share a single port between your printer and other
971da177e4SLinus Torvalds	  parallel port devices. Answer Y to build PARIDE support into your
981da177e4SLinus Torvalds	  kernel, or M if you would like to build it as a loadable module. If
991da177e4SLinus Torvalds	  your parallel port support is in a loadable module, you must build
1001da177e4SLinus Torvalds	  PARIDE as a module. If you built PARIDE support into your kernel,
1011da177e4SLinus Torvalds	  you may still build the individual protocol modules and high-level
1021da177e4SLinus Torvalds	  drivers as loadable modules. If you build this support as a module,
1031da177e4SLinus Torvalds	  it will be called paride.
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvalds	  To use the PARIDE support, you must say Y or M here and also to at
1061da177e4SLinus Torvalds	  least one high-level driver (e.g. "Parallel port IDE disks",
1071da177e4SLinus Torvalds	  "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and
1081da177e4SLinus Torvalds	  to at least one protocol driver (e.g. "ATEN EH-100 protocol",
1091da177e4SLinus Torvalds	  "MicroSolutions backpack protocol", "DataStor Commuter protocol"
1101da177e4SLinus Torvalds	  etc.).
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldssource "drivers/block/paride/Kconfig"
1131da177e4SLinus Torvalds
11488523a61SSam Bradshawsource "drivers/block/mtip32xx/Kconfig"
11588523a61SSam Bradshaw
116cd67e10aSMinchan Kimsource "drivers/block/zram/Kconfig"
117cd67e10aSMinchan Kim
1181da177e4SLinus Torvaldsconfig BLK_DEV_UMEM
119b8977285SKees Cook	tristate "Micro Memory MM5415 Battery Backed RAM support"
120b8977285SKees Cook	depends on PCI
121a7f7f624SMasahiro Yamada	help
1221da177e4SLinus Torvalds	  Saying Y here will include support for the MM5415 family of
1231da177e4SLinus Torvalds	  battery backed (Non-volatile) RAM cards.
1241da177e4SLinus Torvalds	  <http://www.umem.com/>
1251da177e4SLinus Torvalds
1261da177e4SLinus Torvalds	  The cards appear as block devices that can be partitioned into
1271da177e4SLinus Torvalds	  as many as 15 partitions.
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1301da177e4SLinus Torvalds	  module will be called umem.
1311da177e4SLinus Torvalds
1321da177e4SLinus Torvalds	  The umem driver has not yet been allocated a MAJOR number, so
133bf6ee0aeSAdrian Bunk	  one is chosen dynamically.
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsconfig BLK_DEV_UBD
1361da177e4SLinus Torvalds	bool "Virtual block device"
1371da177e4SLinus Torvalds	depends on UML
138a7f7f624SMasahiro Yamada	help
1391da177e4SLinus Torvalds          The User-Mode Linux port includes a driver called UBD which will let
1401da177e4SLinus Torvalds          you access arbitrary files on the host computer as block devices.
1411da177e4SLinus Torvalds          Unless you know that you do not need such virtual block devices say
1421da177e4SLinus Torvalds          Y here.
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvaldsconfig BLK_DEV_UBD_SYNC
1451da177e4SLinus Torvalds	bool "Always do synchronous disk IO for UBD"
1461da177e4SLinus Torvalds	depends on BLK_DEV_UBD
147a7f7f624SMasahiro Yamada	help
1481da177e4SLinus Torvalds	  Writes to the virtual block device are not immediately written to the
1491da177e4SLinus Torvalds	  host's disk; this may cause problems if, for example, the User-Mode
1501da177e4SLinus Torvalds	  Linux 'Virtual Machine' uses a journalling filesystem and the host
1511da177e4SLinus Torvalds	  computer crashes.
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvalds          Synchronous operation (i.e. always writing data to the host's disk
1541da177e4SLinus Torvalds          immediately) is configurable on a per-UBD basis by using a special
1551da177e4SLinus Torvalds          kernel command line option.  Alternatively, you can say Y here to
1561da177e4SLinus Torvalds          turn on synchronous operation by default for all block devices.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds          If you're running a journalling file system (like reiserfs, for
1591da177e4SLinus Torvalds          example) in your virtual machine, you will want to say Y here.  If
1601da177e4SLinus Torvalds          you care for the safety of the data in your virtual machine, Y is a
1611da177e4SLinus Torvalds          wise choice too.  In all other cases (for example, if you're just
1621da177e4SLinus Torvalds          playing around with User-Mode Linux) you can choose N.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvaldsconfig BLK_DEV_COW_COMMON
1651da177e4SLinus Torvalds	bool
1661da177e4SLinus Torvalds	default BLK_DEV_UBD
1671da177e4SLinus Torvalds
1681da177e4SLinus Torvaldsconfig BLK_DEV_LOOP
1691da177e4SLinus Torvalds	tristate "Loopback device support"
170a7f7f624SMasahiro Yamada	help
1711da177e4SLinus Torvalds	  Saying Y here will allow you to use a regular file as a block
1721da177e4SLinus Torvalds	  device; you can then create a file system on that block device and
1731da177e4SLinus Torvalds	  mount it just as you would mount other block devices such as hard
1741da177e4SLinus Torvalds	  drive partitions, CD-ROM drives or floppy drives. The loop devices
1751da177e4SLinus Torvalds	  are block special device files with major number 7 and typically
1761da177e4SLinus Torvalds	  called /dev/loop0, /dev/loop1 etc.
1771da177e4SLinus Torvalds
1781da177e4SLinus Torvalds	  This is useful if you want to check an ISO 9660 file system before
1791da177e4SLinus Torvalds	  burning the CD, or if you want to use floppy images without first
1801da177e4SLinus Torvalds	  writing them to floppy. Furthermore, some Linux distributions avoid
1811da177e4SLinus Torvalds	  the need for a dedicated Linux partition by keeping their complete
1821da177e4SLinus Torvalds	  root file system inside a DOS FAT file using this loop device
1831da177e4SLinus Torvalds	  driver.
1841da177e4SLinus Torvalds
1851da177e4SLinus Torvalds	  To use the loop device, you need the losetup utility, found in the
1861da177e4SLinus Torvalds	  util-linux package, see
1874f6cce39SSeongJae Park	  <https://www.kernel.org/pub/linux/utils/util-linux/>.
1881da177e4SLinus Torvalds
1891da177e4SLinus Torvalds	  The loop device driver can also be used to "hide" a file system in
1901da177e4SLinus Torvalds	  a disk partition, floppy, or regular file, either using encryption
1911da177e4SLinus Torvalds	  (scrambling the data) or steganography (hiding the data in the low
1921da177e4SLinus Torvalds	  bits of, say, a sound file). This is also safe if the file resides
1931da177e4SLinus Torvalds	  on a remote file server.
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvalds	  There are several ways of encrypting disks. Some of these require
1961da177e4SLinus Torvalds	  kernel patches. The vanilla kernel offers the cryptoloop option
1971da177e4SLinus Torvalds	  and a Device Mapper target (which is superior, as it supports all
1981da177e4SLinus Torvalds	  file systems). If you want to use the cryptoloop, say Y to both
1991da177e4SLinus Torvalds	  LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
2001da177e4SLinus Torvalds	  or later) version of util-linux. Additionally, be aware that
2011da177e4SLinus Torvalds	  the cryptoloop is not safe for storing journaled filesystems.
2021da177e4SLinus Torvalds
2031da177e4SLinus Torvalds	  Note that this loop device has nothing to do with the loopback
2041da177e4SLinus Torvalds	  device used for network connections from the machine to itself.
2051da177e4SLinus Torvalds
2061da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2071da177e4SLinus Torvalds	  module will be called loop.
2081da177e4SLinus Torvalds
2091da177e4SLinus Torvalds	  Most users will answer N here.
2101da177e4SLinus Torvalds
211d134b00bSKay Sieversconfig BLK_DEV_LOOP_MIN_COUNT
212d134b00bSKay Sievers	int "Number of loop devices to pre-create at init time"
213d134b00bSKay Sievers	depends on BLK_DEV_LOOP
214d134b00bSKay Sievers	default 8
215d134b00bSKay Sievers	help
216d134b00bSKay Sievers	  Static number of loop devices to be unconditionally pre-created
217d134b00bSKay Sievers	  at init time.
218d134b00bSKay Sievers
219d134b00bSKay Sievers	  This default value can be overwritten on the kernel command
220d134b00bSKay Sievers	  line or with module-parameter loop.max_loop.
221d134b00bSKay Sievers
222d134b00bSKay Sievers	  The historic default is 8. If a late 2011 version of losetup(8)
223d134b00bSKay Sievers	  is used, it can be set to 0, since needed loop devices can be
224d134b00bSKay Sievers	  dynamically allocated with the /dev/loop-control interface.
225d134b00bSKay Sievers
2261da177e4SLinus Torvaldsconfig BLK_DEV_CRYPTOLOOP
2271da177e4SLinus Torvalds	tristate "Cryptoloop Support"
2281da177e4SLinus Torvalds	select CRYPTO
2298df3b0a2SHerbert Xu	select CRYPTO_CBC
2301da177e4SLinus Torvalds	depends on BLK_DEV_LOOP
231a7f7f624SMasahiro Yamada	help
2321da177e4SLinus Torvalds	  Say Y here if you want to be able to use the ciphers that are
2331da177e4SLinus Torvalds	  provided by the CryptoAPI as loop transformation. This might be
2341da177e4SLinus Torvalds	  used as hard disk encryption.
2351da177e4SLinus Torvalds
2361da177e4SLinus Torvalds	  WARNING: This device is not safe for journaled file systems like
2371da177e4SLinus Torvalds	  ext3 or Reiserfs. Please use the Device Mapper crypto module
2381da177e4SLinus Torvalds	  instead, which can be configured to be on-disk compatible with the
2391da177e4SLinus Torvalds	  cryptoloop device.
2401da177e4SLinus Torvalds
241b411b363SPhilipp Reisnersource "drivers/block/drbd/Kconfig"
242b411b363SPhilipp Reisner
2431da177e4SLinus Torvaldsconfig BLK_DEV_NBD
2441da177e4SLinus Torvalds	tristate "Network block device support"
2451da177e4SLinus Torvalds	depends on NET
246a7f7f624SMasahiro Yamada	help
2471da177e4SLinus Torvalds	  Saying Y here will allow your computer to be a client for network
2481da177e4SLinus Torvalds	  block devices, i.e. it will be able to use block devices exported by
2491da177e4SLinus Torvalds	  servers (mount file systems on them etc.). Communication between
2501da177e4SLinus Torvalds	  client and server works over TCP/IP networking, but to the client
2511da177e4SLinus Torvalds	  program this is hidden: it looks like a regular local file access to
2521da177e4SLinus Torvalds	  a block device special file such as /dev/nd0.
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvalds	  Network block devices also allows you to run a block-device in
2551da177e4SLinus Torvalds	  userland (making server and client physically the same computer,
2561da177e4SLinus Torvalds	  communicating using the loopback network device).
2571da177e4SLinus Torvalds
258e7751617SMauro Carvalho Chehab	  Read <file:Documentation/admin-guide/blockdev/nbd.rst> for more information,
25931c00fc1SRandy Dunlap	  especially about where to find the server code, which runs in user
26031c00fc1SRandy Dunlap	  space and does not need special kernel support.
2611da177e4SLinus Torvalds
2621da177e4SLinus Torvalds	  Note that this has nothing to do with the network file systems NFS
2631da177e4SLinus Torvalds	  or Coda; you can say N here even if you intend to use NFS or Coda.
2641da177e4SLinus Torvalds
2651da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2661da177e4SLinus Torvalds	  module will be called nbd.
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvalds	  If unsure, say N.
2691da177e4SLinus Torvalds
270e67f86b3SAkhil Bhansaliconfig BLK_DEV_SKD
271e67f86b3SAkhil Bhansali	tristate "STEC S1120 Block Driver"
272e67f86b3SAkhil Bhansali	depends on PCI
273e67f86b3SAkhil Bhansali	depends on 64BIT
274a7f7f624SMasahiro Yamada	help
275e67f86b3SAkhil Bhansali	Saying Y or M here will enable support for the
276e67f86b3SAkhil Bhansali	STEC, Inc. S1120 PCIe SSD.
277e67f86b3SAkhil Bhansali
278e67f86b3SAkhil Bhansali	Use device /dev/skd$N amd /dev/skd$Np$M.
279e67f86b3SAkhil Bhansali
2801da177e4SLinus Torvaldsconfig BLK_DEV_SX8
2811da177e4SLinus Torvalds	tristate "Promise SATA SX8 support"
2821da177e4SLinus Torvalds	depends on PCI
283a7f7f624SMasahiro Yamada	help
2841da177e4SLinus Torvalds	  Saying Y or M here will enable support for the
2851da177e4SLinus Torvalds	  Promise SATA SX8 controllers.
2861da177e4SLinus Torvalds
2871da177e4SLinus Torvalds	  Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldsconfig BLK_DEV_RAM
2909db5579bSNick Piggin	tristate "RAM block device support"
291a7f7f624SMasahiro Yamada	help
2921da177e4SLinus Torvalds	  Saying Y here will allow you to use a portion of your RAM memory as
2931da177e4SLinus Torvalds	  a block device, so that you can make file systems on it, read and
2941da177e4SLinus Torvalds	  write to it and do all the other things that you can do with normal
2951da177e4SLinus Torvalds	  block devices (such as hard drives). It is usually used to load and
2961da177e4SLinus Torvalds	  store a copy of a minimal root file system off of a floppy into RAM
2971da177e4SLinus Torvalds	  during the initial install of Linux.
2981da177e4SLinus Torvalds
29931c00fc1SRandy Dunlap	  Note that the kernel command line option "ramdisk=XX" is now obsolete.
300e7751617SMauro Carvalho Chehab	  For details, read <file:Documentation/admin-guide/blockdev/ramdisk.rst>.
3011da177e4SLinus Torvalds
3021da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
303a3b25d9bSFabian Frederick	  module will be called brd. An alias "rd" has been defined
304a3b25d9bSFabian Frederick	  for historical reasons.
3051da177e4SLinus Torvalds
3061da177e4SLinus Torvalds	  Most normal users won't need the RAM disk functionality, and can
3071da177e4SLinus Torvalds	  thus say N here.
3081da177e4SLinus Torvalds
3091da177e4SLinus Torvaldsconfig BLK_DEV_RAM_COUNT
310a687fb18SAdrian Bunk	int "Default number of RAM disks"
3111da177e4SLinus Torvalds	default "16"
312a687fb18SAdrian Bunk	depends on BLK_DEV_RAM
3131da177e4SLinus Torvalds	help
3142e977c85SPatrick Ringl	  The default value is 16 RAM disks. Change this if you know what you
3151da177e4SLinus Torvalds	  are doing. If you boot from a filesystem that needs to be extracted
3161da177e4SLinus Torvalds	  in memory, you will need at least one RAM disk (e.g. root on cramfs).
3171da177e4SLinus Torvalds
3181da177e4SLinus Torvaldsconfig BLK_DEV_RAM_SIZE
3191da177e4SLinus Torvalds	int "Default RAM disk size (kbytes)"
3201da177e4SLinus Torvalds	depends on BLK_DEV_RAM
3211da177e4SLinus Torvalds	default "4096"
3221da177e4SLinus Torvalds	help
3231da177e4SLinus Torvalds	  The default value is 4096 kilobytes. Only change this if you know
3242e977c85SPatrick Ringl	  what you are doing.
3251da177e4SLinus Torvalds
3261da177e4SLinus Torvaldsconfig CDROM_PKTCDVD
3275a8b187cSJens Axboe	tristate "Packet writing on CD/DVD media (DEPRECATED)"
3281da177e4SLinus Torvalds	depends on !UML
3292a750166SBart Van Assche	select CDROM
33072148aecSChristoph Hellwig	select BLK_SCSI_REQUEST
3311da177e4SLinus Torvalds	help
3325a8b187cSJens Axboe	  Note: This driver is deprecated and will be removed from the
3335a8b187cSJens Axboe	  kernel in the near future!
3345a8b187cSJens Axboe
3352d4eeec5SThomas Maier	  If you have a CDROM/DVD drive that supports packet writing, say
3362d4eeec5SThomas Maier	  Y to include support. It should work with any MMC/Mt Fuji
3372d4eeec5SThomas Maier	  compliant ATAPI or SCSI drive, which is just about any newer
3382d4eeec5SThomas Maier	  DVD/CD writer.
3391da177e4SLinus Torvalds
3402d4eeec5SThomas Maier	  Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
3412d4eeec5SThomas Maier	  is possible.
3421da177e4SLinus Torvalds	  DVD-RW disks must be in restricted overwrite mode.
3431da177e4SLinus Torvalds
3448ea61889SMauro Carvalho Chehab	  See the file <file:Documentation/cdrom/packet-writing.rst>
3452d4eeec5SThomas Maier	  for further information on the use of this driver.
3462d4eeec5SThomas Maier
3471da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3481da177e4SLinus Torvalds	  module will be called pktcdvd.
3491da177e4SLinus Torvalds
3501da177e4SLinus Torvaldsconfig CDROM_PKTCDVD_BUFFERS
3511da177e4SLinus Torvalds	int "Free buffers for data gathering"
3521da177e4SLinus Torvalds	depends on CDROM_PKTCDVD
3531da177e4SLinus Torvalds	default "8"
3541da177e4SLinus Torvalds	help
3551da177e4SLinus Torvalds	  This controls the maximum number of active concurrent packets. More
3561da177e4SLinus Torvalds	  concurrent packets can increase write performance, but also require
3571da177e4SLinus Torvalds	  more memory. Each concurrent packet will require approximately 64Kb
358e1bc89bcSPeter Osterlund	  of non-swappable kernel memory, memory which will be allocated when
359e1bc89bcSPeter Osterlund	  a disc is opened for writing.
3601da177e4SLinus Torvalds
3611da177e4SLinus Torvaldsconfig CDROM_PKTCDVD_WCACHE
362b8977285SKees Cook	bool "Enable write caching"
363b8977285SKees Cook	depends on CDROM_PKTCDVD
3641da177e4SLinus Torvalds	help
3651da177e4SLinus Torvalds	  If enabled, write caching will be set for the CD-R/W device. For now
3661da177e4SLinus Torvalds	  this option is dangerous unless the CD-RW media is known good, as we
3671da177e4SLinus Torvalds	  don't do deferred write error handling yet.
3681da177e4SLinus Torvalds
3691da177e4SLinus Torvaldsconfig ATA_OVER_ETH
3701da177e4SLinus Torvalds	tristate "ATA over Ethernet support"
3711da177e4SLinus Torvalds	depends on NET
3721da177e4SLinus Torvalds	help
3731da177e4SLinus Torvalds	This driver provides Support for ATA over Ethernet block
3741da177e4SLinus Torvalds	devices like the Coraid EtherDrive (R) Storage Blade.
3751da177e4SLinus Torvalds
376667ef3c3SDavid S. Millerconfig SUNVDC
377667ef3c3SDavid S. Miller	tristate "Sun Virtual Disk Client support"
378667ef3c3SDavid S. Miller	depends on SUN_LDOMS
379667ef3c3SDavid S. Miller	help
380667ef3c3SDavid S. Miller	  Support for virtual disk devices as a client under Sun
381667ef3c3SDavid S. Miller	  Logical Domains.
382667ef3c3SDavid S. Miller
38361d48c2cSMartin Schwidefskysource "drivers/s390/block/Kconfig"
38461d48c2cSMartin Schwidefsky
38574489a91SGrant Likelyconfig XILINX_SYSACE
38674489a91SGrant Likely	tristate "Xilinx SystemACE support"
3876fa612b5SMichal Simek	depends on 4xx || MICROBLAZE
38874489a91SGrant Likely	help
38974489a91SGrant Likely	  Include support for the Xilinx SystemACE CompactFlash interface
39074489a91SGrant Likely
3919f27ee59SJeremy Fitzhardingeconfig XEN_BLKDEV_FRONTEND
3929f27ee59SJeremy Fitzhardinge	tristate "Xen virtual block device support"
3939f27ee59SJeremy Fitzhardinge	depends on XEN
3949f27ee59SJeremy Fitzhardinge	default y
3952de06cc1SIan Campbell	select XEN_XENBUS_FRONTEND
3969f27ee59SJeremy Fitzhardinge	help
3979f27ee59SJeremy Fitzhardinge	  This driver implements the front-end of the Xen virtual
3989f27ee59SJeremy Fitzhardinge	  block device driver.  It communicates with a back-end driver
3999f27ee59SJeremy Fitzhardinge	  in another domain which drives the actual block device.
4009f27ee59SJeremy Fitzhardinge
401dfc07b13SKonrad Rzeszutek Wilkconfig XEN_BLKDEV_BACKEND
402ea5e1161SKonrad Rzeszutek Wilk	tristate "Xen block-device backend driver"
403dfc07b13SKonrad Rzeszutek Wilk	depends on XEN_BACKEND
404dfc07b13SKonrad Rzeszutek Wilk	help
405dfc07b13SKonrad Rzeszutek Wilk	  The block-device backend driver allows the kernel to export its
406dfc07b13SKonrad Rzeszutek Wilk	  block devices to other guests via a high-performance shared-memory
407dfc07b13SKonrad Rzeszutek Wilk	  interface.
408dfc07b13SKonrad Rzeszutek Wilk
409a4c34858SKonrad Rzeszutek Wilk	  The corresponding Linux frontend driver is enabled by the
410a4c34858SKonrad Rzeszutek Wilk	  CONFIG_XEN_BLKDEV_FRONTEND configuration option.
411a4c34858SKonrad Rzeszutek Wilk
412a4c34858SKonrad Rzeszutek Wilk	  The backend driver attaches itself to a any block device specified
413a4c34858SKonrad Rzeszutek Wilk	  in the XenBus configuration. There are no limits to what the block
414a4c34858SKonrad Rzeszutek Wilk	  device as long as it has a major and minor.
415a4c34858SKonrad Rzeszutek Wilk
416a4c34858SKonrad Rzeszutek Wilk	  If you are compiling a kernel to run in a Xen block backend driver
417a4c34858SKonrad Rzeszutek Wilk	  domain (often this is domain 0) you should say Y here. To
418a4c34858SKonrad Rzeszutek Wilk	  compile this driver as a module, chose M here: the module
419a4c34858SKonrad Rzeszutek Wilk	  will be called xen-blkback.
420a4c34858SKonrad Rzeszutek Wilk
421a4c34858SKonrad Rzeszutek Wilk
422e467cde2SRusty Russellconfig VIRTIO_BLK
423b8977285SKees Cook	tristate "Virtio block driver"
424b8977285SKees Cook	depends on VIRTIO
425a7f7f624SMasahiro Yamada	help
4260ad07ec1SAnthony Liguori	  This is the virtual block driver for virtio.  It can be used with
427ecda85e7SJuergen Gross          QEMU based VMMs (like KVM or Xen).  Say Y or M.
428e467cde2SRusty Russell
429602adf40SYehuda Sadehconfig BLK_DEV_RBD
430602adf40SYehuda Sadeh	tristate "Rados block device (RBD)"
431b8977285SKees Cook	depends on INET && BLOCK
432602adf40SYehuda Sadeh	select CEPH_LIB
433602adf40SYehuda Sadeh	select LIBCRC32C
434602adf40SYehuda Sadeh	select CRYPTO_AES
435602adf40SYehuda Sadeh	select CRYPTO
436602adf40SYehuda Sadeh	help
437602adf40SYehuda Sadeh	  Say Y here if you want include the Rados block device, which stripes
438602adf40SYehuda Sadeh	  a block device over objects stored in the Ceph distributed object
439602adf40SYehuda Sadeh	  store.
440602adf40SYehuda Sadeh
441602adf40SYehuda Sadeh	  More information at http://ceph.newdream.net/.
442602adf40SYehuda Sadeh
443602adf40SYehuda Sadeh	  If unsure, say N.
444602adf40SYehuda Sadeh
4458722ff8cS[email protected]config BLK_DEV_RSXX
446f730e3dcSPhilip J Kelleher	tristate "IBM Flash Adapter 900GB Full Height PCIe Device Driver"
4478722ff8cS[email protected]	depends on PCI
4488722ff8cS[email protected]	help
4498722ff8cS[email protected]	  Device driver for IBM's high speed PCIe SSD
450f730e3dcSPhilip J Kelleher	  storage device: Flash Adapter 900GB Full Height.
4518722ff8cS[email protected]
4528722ff8cS[email protected]	  To compile this driver as a module, choose M here: the
4538722ff8cS[email protected]	  module will be called rsxx.
4548722ff8cS[email protected]
455bc018853SJack Wangsource "drivers/block/rnbd/Kconfig"
456bc018853SJack Wang
457fd11d171SJan Engelhardtendif # BLK_DEV
458