Kconfig 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. #
  2. # Block device driver configuration
  3. #
  4. menuconfig BLK_DEV
  5. bool "Block devices"
  6. depends on BLOCK
  7. default y
  8. if BLK_DEV
  9. config BLK_DEV_FD
  10. tristate "Normal floppy disk support"
  11. depends on ARCH_MAY_HAVE_PC_FDC
  12. ---help---
  13. If you want to use the floppy disk drive(s) of your PC under Linux,
  14. say Y. Information about this driver, especially important for IBM
  15. Thinkpad users, is contained in <file:Documentation/floppy.txt>.
  16. That file also contains the location of the Floppy driver FAQ as
  17. well as location of the fdutils package used to configure additional
  18. parameters of the driver at run time.
  19. To compile this driver as a module, choose M here: the
  20. module will be called floppy.
  21. config AMIGA_FLOPPY
  22. tristate "Amiga floppy support"
  23. depends on AMIGA
  24. config ATARI_FLOPPY
  25. tristate "Atari floppy support"
  26. depends on ATARI
  27. config MAC_FLOPPY
  28. tristate "Support for PowerMac floppy"
  29. depends on PPC_PMAC && !PPC_PMAC64
  30. help
  31. If you have a SWIM-3 (Super Woz Integrated Machine 3; from Apple)
  32. floppy controller, say Y here. Most commonly found in PowerMacs.
  33. config BLK_DEV_PS2
  34. tristate "PS/2 ESDI hard disk support"
  35. depends on MCA && MCA_LEGACY && BROKEN
  36. help
  37. Say Y here if you have a PS/2 machine with a MCA bus and an ESDI
  38. hard disk.
  39. To compile this driver as a module, choose M here: the
  40. module will be called ps2esdi.
  41. config AMIGA_Z2RAM
  42. tristate "Amiga Zorro II ramdisk support"
  43. depends on ZORRO
  44. help
  45. This enables support for using Chip RAM and Zorro II RAM as a
  46. ramdisk or as a swap partition. Say Y if you want to include this
  47. driver in the kernel.
  48. To compile this driver as a module, choose M here: the
  49. module will be called z2ram.
  50. config BLK_DEV_XD
  51. tristate "XT hard disk support"
  52. depends on ISA && ISA_DMA_API
  53. help
  54. Very old 8 bit hard disk controllers used in the IBM XT computer
  55. will be supported if you say Y here.
  56. To compile this driver as a module, choose M here: the
  57. module will be called xd.
  58. It's pretty unlikely that you have one of these: say N.
  59. config PARIDE
  60. tristate "Parallel port IDE device support"
  61. depends on PARPORT_PC
  62. ---help---
  63. There are many external CD-ROM and disk devices that connect through
  64. your computer's parallel port. Most of them are actually IDE devices
  65. using a parallel port IDE adapter. This option enables the PARIDE
  66. subsystem which contains drivers for many of these external drives.
  67. Read <file:Documentation/paride.txt> for more information.
  68. If you have said Y to the "Parallel-port support" configuration
  69. option, you may share a single port between your printer and other
  70. parallel port devices. Answer Y to build PARIDE support into your
  71. kernel, or M if you would like to build it as a loadable module. If
  72. your parallel port support is in a loadable module, you must build
  73. PARIDE as a module. If you built PARIDE support into your kernel,
  74. you may still build the individual protocol modules and high-level
  75. drivers as loadable modules. If you build this support as a module,
  76. it will be called paride.
  77. To use the PARIDE support, you must say Y or M here and also to at
  78. least one high-level driver (e.g. "Parallel port IDE disks",
  79. "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and
  80. to at least one protocol driver (e.g. "ATEN EH-100 protocol",
  81. "MicroSolutions backpack protocol", "DataStor Commuter protocol"
  82. etc.).
  83. source "drivers/block/paride/Kconfig"
  84. config BLK_CPQ_DA
  85. tristate "Compaq SMART2 support"
  86. depends on PCI && VIRT_TO_BUS
  87. help
  88. This is the driver for Compaq Smart Array controllers. Everyone
  89. using these boards should say Y here. See the file
  90. <file:Documentation/cpqarray.txt> for the current list of boards
  91. supported by this driver, and for further information on the use of
  92. this driver.
  93. config BLK_CPQ_CISS_DA
  94. tristate "Compaq Smart Array 5xxx support"
  95. depends on PCI
  96. help
  97. This is the driver for Compaq Smart Array 5xxx controllers.
  98. Everyone using these boards should say Y here.
  99. See <file:Documentation/cciss.txt> for the current list of
  100. boards supported by this driver, and for further information
  101. on the use of this driver.
  102. config CISS_SCSI_TAPE
  103. bool "SCSI tape drive support for Smart Array 5xxx"
  104. depends on BLK_CPQ_CISS_DA && PROC_FS
  105. depends on SCSI=y || SCSI=BLK_CPQ_CISS_DA
  106. help
  107. When enabled (Y), this option allows SCSI tape drives and SCSI medium
  108. changers (tape robots) to be accessed via a Compaq 5xxx array
  109. controller. (See <file:Documentation/cciss.txt> for more details.)
  110. "SCSI support" and "SCSI tape support" must also be enabled for this
  111. option to work.
  112. When this option is disabled (N), the SCSI portion of the driver
  113. is not compiled.
  114. config BLK_DEV_DAC960
  115. tristate "Mylex DAC960/DAC1100 PCI RAID Controller support"
  116. depends on PCI
  117. help
  118. This driver adds support for the Mylex DAC960, AcceleRAID, and
  119. eXtremeRAID PCI RAID controllers. See the file
  120. <file:Documentation/README.DAC960> for further information about
  121. this driver.
  122. To compile this driver as a module, choose M here: the
  123. module will be called DAC960.
  124. config BLK_DEV_UMEM
  125. tristate "Micro Memory MM5415 Battery Backed RAM support (EXPERIMENTAL)"
  126. depends on PCI && EXPERIMENTAL
  127. ---help---
  128. Saying Y here will include support for the MM5415 family of
  129. battery backed (Non-volatile) RAM cards.
  130. <http://www.umem.com/>
  131. The cards appear as block devices that can be partitioned into
  132. as many as 15 partitions.
  133. To compile this driver as a module, choose M here: the
  134. module will be called umem.
  135. The umem driver has not yet been allocated a MAJOR number, so
  136. one is chosen dynamically.
  137. config BLK_DEV_UBD
  138. bool "Virtual block device"
  139. depends on UML
  140. ---help---
  141. The User-Mode Linux port includes a driver called UBD which will let
  142. you access arbitrary files on the host computer as block devices.
  143. Unless you know that you do not need such virtual block devices say
  144. Y here.
  145. config BLK_DEV_UBD_SYNC
  146. bool "Always do synchronous disk IO for UBD"
  147. depends on BLK_DEV_UBD
  148. ---help---
  149. Writes to the virtual block device are not immediately written to the
  150. host's disk; this may cause problems if, for example, the User-Mode
  151. Linux 'Virtual Machine' uses a journalling filesystem and the host
  152. computer crashes.
  153. Synchronous operation (i.e. always writing data to the host's disk
  154. immediately) is configurable on a per-UBD basis by using a special
  155. kernel command line option. Alternatively, you can say Y here to
  156. turn on synchronous operation by default for all block devices.
  157. If you're running a journalling file system (like reiserfs, for
  158. example) in your virtual machine, you will want to say Y here. If
  159. you care for the safety of the data in your virtual machine, Y is a
  160. wise choice too. In all other cases (for example, if you're just
  161. playing around with User-Mode Linux) you can choose N.
  162. config BLK_DEV_COW_COMMON
  163. bool
  164. default BLK_DEV_UBD
  165. config MMAPPER
  166. tristate "Example IO memory driver (BROKEN)"
  167. depends on UML && BROKEN
  168. ---help---
  169. The User-Mode Linux port can provide support for IO Memory
  170. emulation with this option. This allows a host file to be
  171. specified as an I/O region on the kernel command line. That file
  172. will be mapped into UML's kernel address space where a driver can
  173. locate it and do whatever it wants with the memory, including
  174. providing an interface to it for UML processes to use.
  175. For more information, see
  176. <http://user-mode-linux.sourceforge.net/iomem.html>.
  177. If you'd like to be able to provide a simulated IO port space for
  178. User-Mode Linux processes, say Y. If unsure, say N.
  179. config BLK_DEV_LOOP
  180. tristate "Loopback device support"
  181. ---help---
  182. Saying Y here will allow you to use a regular file as a block
  183. device; you can then create a file system on that block device and
  184. mount it just as you would mount other block devices such as hard
  185. drive partitions, CD-ROM drives or floppy drives. The loop devices
  186. are block special device files with major number 7 and typically
  187. called /dev/loop0, /dev/loop1 etc.
  188. This is useful if you want to check an ISO 9660 file system before
  189. burning the CD, or if you want to use floppy images without first
  190. writing them to floppy. Furthermore, some Linux distributions avoid
  191. the need for a dedicated Linux partition by keeping their complete
  192. root file system inside a DOS FAT file using this loop device
  193. driver.
  194. To use the loop device, you need the losetup utility, found in the
  195. util-linux package, see
  196. <ftp://ftp.kernel.org/pub/linux/utils/util-linux/>.
  197. The loop device driver can also be used to "hide" a file system in
  198. a disk partition, floppy, or regular file, either using encryption
  199. (scrambling the data) or steganography (hiding the data in the low
  200. bits of, say, a sound file). This is also safe if the file resides
  201. on a remote file server.
  202. There are several ways of encrypting disks. Some of these require
  203. kernel patches. The vanilla kernel offers the cryptoloop option
  204. and a Device Mapper target (which is superior, as it supports all
  205. file systems). If you want to use the cryptoloop, say Y to both
  206. LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
  207. or later) version of util-linux. Additionally, be aware that
  208. the cryptoloop is not safe for storing journaled filesystems.
  209. Note that this loop device has nothing to do with the loopback
  210. device used for network connections from the machine to itself.
  211. To compile this driver as a module, choose M here: the
  212. module will be called loop.
  213. Most users will answer N here.
  214. config BLK_DEV_CRYPTOLOOP
  215. tristate "Cryptoloop Support"
  216. select CRYPTO
  217. select CRYPTO_CBC
  218. depends on BLK_DEV_LOOP
  219. ---help---
  220. Say Y here if you want to be able to use the ciphers that are
  221. provided by the CryptoAPI as loop transformation. This might be
  222. used as hard disk encryption.
  223. WARNING: This device is not safe for journaled file systems like
  224. ext3 or Reiserfs. Please use the Device Mapper crypto module
  225. instead, which can be configured to be on-disk compatible with the
  226. cryptoloop device.
  227. config BLK_DEV_NBD
  228. tristate "Network block device support"
  229. depends on NET
  230. ---help---
  231. Saying Y here will allow your computer to be a client for network
  232. block devices, i.e. it will be able to use block devices exported by
  233. servers (mount file systems on them etc.). Communication between
  234. client and server works over TCP/IP networking, but to the client
  235. program this is hidden: it looks like a regular local file access to
  236. a block device special file such as /dev/nd0.
  237. Network block devices also allows you to run a block-device in
  238. userland (making server and client physically the same computer,
  239. communicating using the loopback network device).
  240. Read <file:Documentation/nbd.txt> for more information, especially
  241. about where to find the server code, which runs in user space and
  242. does not need special kernel support.
  243. Note that this has nothing to do with the network file systems NFS
  244. or Coda; you can say N here even if you intend to use NFS or Coda.
  245. To compile this driver as a module, choose M here: the
  246. module will be called nbd.
  247. If unsure, say N.
  248. config BLK_DEV_SX8
  249. tristate "Promise SATA SX8 support"
  250. depends on PCI
  251. ---help---
  252. Saying Y or M here will enable support for the
  253. Promise SATA SX8 controllers.
  254. Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
  255. config BLK_DEV_UB
  256. tristate "Low Performance USB Block driver"
  257. depends on USB
  258. help
  259. This driver supports certain USB attached storage devices
  260. such as flash keys.
  261. If you enable this driver, it is recommended to avoid conflicts
  262. with usb-storage by enabling USB_LIBUSUAL.
  263. If unsure, say N.
  264. config BLK_DEV_RAM
  265. tristate "RAM disk support"
  266. ---help---
  267. Saying Y here will allow you to use a portion of your RAM memory as
  268. a block device, so that you can make file systems on it, read and
  269. write to it and do all the other things that you can do with normal
  270. block devices (such as hard drives). It is usually used to load and
  271. store a copy of a minimal root file system off of a floppy into RAM
  272. during the initial install of Linux.
  273. Note that the kernel command line option "ramdisk=XX" is now
  274. obsolete. For details, read <file:Documentation/ramdisk.txt>.
  275. To compile this driver as a module, choose M here: the
  276. module will be called rd.
  277. Most normal users won't need the RAM disk functionality, and can
  278. thus say N here.
  279. config BLK_DEV_RAM_COUNT
  280. int "Default number of RAM disks"
  281. default "16"
  282. depends on BLK_DEV_RAM
  283. help
  284. The default value is 16 RAM disks. Change this if you know what
  285. are doing. If you boot from a filesystem that needs to be extracted
  286. in memory, you will need at least one RAM disk (e.g. root on cramfs).
  287. config BLK_DEV_RAM_SIZE
  288. int "Default RAM disk size (kbytes)"
  289. depends on BLK_DEV_RAM
  290. default "4096"
  291. help
  292. The default value is 4096 kilobytes. Only change this if you know
  293. what are you doing. If you are using IBM S/390, then set this to
  294. 8192.
  295. config BLK_DEV_RAM_BLOCKSIZE
  296. int "Default RAM disk block size (bytes)"
  297. depends on BLK_DEV_RAM
  298. default "1024"
  299. help
  300. The default value is 1024 bytes. PAGE_SIZE is a much more
  301. efficient choice however. The default is kept to ensure initrd
  302. setups function - apparently needed by the rd_load_image routine
  303. that supposes the filesystem in the image uses a 1024 blocksize.
  304. config CDROM_PKTCDVD
  305. tristate "Packet writing on CD/DVD media"
  306. depends on !UML
  307. help
  308. If you have a CDROM/DVD drive that supports packet writing, say
  309. Y to include support. It should work with any MMC/Mt Fuji
  310. compliant ATAPI or SCSI drive, which is just about any newer
  311. DVD/CD writer.
  312. Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
  313. is possible.
  314. DVD-RW disks must be in restricted overwrite mode.
  315. See the file <file:Documentation/cdrom/packet-writing.txt>
  316. for further information on the use of this driver.
  317. To compile this driver as a module, choose M here: the
  318. module will be called pktcdvd.
  319. config CDROM_PKTCDVD_BUFFERS
  320. int "Free buffers for data gathering"
  321. depends on CDROM_PKTCDVD
  322. default "8"
  323. help
  324. This controls the maximum number of active concurrent packets. More
  325. concurrent packets can increase write performance, but also require
  326. more memory. Each concurrent packet will require approximately 64Kb
  327. of non-swappable kernel memory, memory which will be allocated when
  328. a disc is opened for writing.
  329. config CDROM_PKTCDVD_WCACHE
  330. bool "Enable write caching (EXPERIMENTAL)"
  331. depends on CDROM_PKTCDVD && EXPERIMENTAL
  332. help
  333. If enabled, write caching will be set for the CD-R/W device. For now
  334. this option is dangerous unless the CD-RW media is known good, as we
  335. don't do deferred write error handling yet.
  336. config ATA_OVER_ETH
  337. tristate "ATA over Ethernet support"
  338. depends on NET
  339. help
  340. This driver provides Support for ATA over Ethernet block
  341. devices like the Coraid EtherDrive (R) Storage Blade.
  342. config SUNVDC
  343. tristate "Sun Virtual Disk Client support"
  344. depends on SUN_LDOMS
  345. help
  346. Support for virtual disk devices as a client under Sun
  347. Logical Domains.
  348. source "drivers/s390/block/Kconfig"
  349. config XILINX_SYSACE
  350. tristate "Xilinx SystemACE support"
  351. depends on 4xx
  352. help
  353. Include support for the Xilinx SystemACE CompactFlash interface
  354. config XEN_BLKDEV_FRONTEND
  355. tristate "Xen virtual block device support"
  356. depends on XEN
  357. default y
  358. help
  359. This driver implements the front-end of the Xen virtual
  360. block device driver. It communicates with a back-end driver
  361. in another domain which drives the actual block device.
  362. endif # BLK_DEV