]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/block/Kconfig
Create/use more directory structure in the Documentation/ tree.
[mirror_ubuntu-zesty-kernel.git] / drivers / block / Kconfig
CommitLineData
1da177e4
LT
1#
2# Block device driver configuration
3#
4
fd11d171
JE
5menuconfig BLK_DEV
6 bool "Block devices"
7 depends on BLOCK
8 default y
06bfb7eb
JE
9 ---help---
10 Say Y here to get to see options for various different block device
11 drivers. This option alone does not add any kernel code.
12
13 If you say N, all options in this submenu will be skipped and disabled;
14 only do this if you know what you are doing.
9361401e 15
fd11d171 16if BLK_DEV
1da177e4
LT
17
18config BLK_DEV_FD
19 tristate "Normal floppy disk support"
a08b6b79 20 depends on ARCH_MAY_HAVE_PC_FDC
1da177e4
LT
21 ---help---
22 If you want to use the floppy disk drive(s) of your PC under Linux,
23 say Y. Information about this driver, especially important for IBM
31c00fc1
RD
24 Thinkpad users, is contained in
25 <file:Documentation/blockdev/floppy.txt>.
1da177e4
LT
26 That file also contains the location of the Floppy driver FAQ as
27 well as location of the fdutils package used to configure additional
28 parameters of the driver at run time.
29
30 To compile this driver as a module, choose M here: the
31 module will be called floppy.
32
33config AMIGA_FLOPPY
34 tristate "Amiga floppy support"
35 depends on AMIGA
36
37config ATARI_FLOPPY
38 tristate "Atari floppy support"
39 depends on ATARI
40
1da177e4
LT
41config MAC_FLOPPY
42 tristate "Support for PowerMac floppy"
43 depends on PPC_PMAC && !PPC_PMAC64
44 help
45 If you have a SWIM-3 (Super Woz Integrated Machine 3; from Apple)
46 floppy controller, say Y here. Most commonly found in PowerMacs.
47
1da177e4
LT
48config AMIGA_Z2RAM
49 tristate "Amiga Zorro II ramdisk support"
50 depends on ZORRO
51 help
52 This enables support for using Chip RAM and Zorro II RAM as a
53 ramdisk or as a swap partition. Say Y if you want to include this
54 driver in the kernel.
55
56 To compile this driver as a module, choose M here: the
57 module will be called z2ram.
58
1da177e4
LT
59config BLK_DEV_XD
60 tristate "XT hard disk support"
a5532606 61 depends on ISA && ISA_DMA_API
928923c7 62 select CHECK_SIGNATURE
1da177e4
LT
63 help
64 Very old 8 bit hard disk controllers used in the IBM XT computer
65 will be supported if you say Y here.
66
67 To compile this driver as a module, choose M here: the
68 module will be called xd.
69
70 It's pretty unlikely that you have one of these: say N.
71
72config PARIDE
73 tristate "Parallel port IDE device support"
6a19b41b 74 depends on PARPORT_PC
1da177e4
LT
75 ---help---
76 There are many external CD-ROM and disk devices that connect through
77 your computer's parallel port. Most of them are actually IDE devices
78 using a parallel port IDE adapter. This option enables the PARIDE
79 subsystem which contains drivers for many of these external drives.
31c00fc1 80 Read <file:Documentation/blockdev/paride.txt> for more information.
1da177e4
LT
81
82 If you have said Y to the "Parallel-port support" configuration
83 option, you may share a single port between your printer and other
84 parallel port devices. Answer Y to build PARIDE support into your
85 kernel, or M if you would like to build it as a loadable module. If
86 your parallel port support is in a loadable module, you must build
87 PARIDE as a module. If you built PARIDE support into your kernel,
88 you may still build the individual protocol modules and high-level
89 drivers as loadable modules. If you build this support as a module,
90 it will be called paride.
91
92 To use the PARIDE support, you must say Y or M here and also to at
93 least one high-level driver (e.g. "Parallel port IDE disks",
94 "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and
95 to at least one protocol driver (e.g. "ATEN EH-100 protocol",
96 "MicroSolutions backpack protocol", "DataStor Commuter protocol"
97 etc.).
98
74ee1a75
AM
99config GDROM
100 tristate "SEGA Dreamcast GD-ROM drive"
101 depends on SH_DREAMCAST
102 help
103 A standard SEGA Dreamcast comes with a modified CD ROM drive called a
104 "GD-ROM" by SEGA to signify it is capable of reading special disks
105 with up to 1 GB of data. This drive will also read standard CD ROM
106 disks. Select this option to access any disks in your GD ROM drive.
107 Most users will want to say "Y" here.
108 You can also build this as a module which will be called gdrom.ko
109
1da177e4
LT
110source "drivers/block/paride/Kconfig"
111
112config BLK_CPQ_DA
113 tristate "Compaq SMART2 support"
f057eac0 114 depends on PCI && VIRT_TO_BUS
1da177e4
LT
115 help
116 This is the driver for Compaq Smart Array controllers. Everyone
117 using these boards should say Y here. See the file
31c00fc1
RD
118 <file:Documentation/blockdev/cpqarray.txt> for the current list of
119 boards supported by this driver, and for further information on the
120 use of this driver.
1da177e4
LT
121
122config BLK_CPQ_CISS_DA
123 tristate "Compaq Smart Array 5xxx support"
124 depends on PCI
125 help
126 This is the driver for Compaq Smart Array 5xxx controllers.
127 Everyone using these boards should say Y here.
31c00fc1 128 See <file:Documentation/blockdev/cciss.txt> for the current list of
1da177e4
LT
129 boards supported by this driver, and for further information
130 on the use of this driver.
131
132config CISS_SCSI_TAPE
133 bool "SCSI tape drive support for Smart Array 5xxx"
3e29fe83
RD
134 depends on BLK_CPQ_CISS_DA && PROC_FS
135 depends on SCSI=y || SCSI=BLK_CPQ_CISS_DA
1da177e4
LT
136 help
137 When enabled (Y), this option allows SCSI tape drives and SCSI medium
138 changers (tape robots) to be accessed via a Compaq 5xxx array
31c00fc1 139 controller. (See <file:Documentation/blockdev/cciss.txt> for more details.)
1da177e4
LT
140
141 "SCSI support" and "SCSI tape support" must also be enabled for this
142 option to work.
143
144 When this option is disabled (N), the SCSI portion of the driver
145 is not compiled.
146
147config BLK_DEV_DAC960
148 tristate "Mylex DAC960/DAC1100 PCI RAID Controller support"
149 depends on PCI
150 help
151 This driver adds support for the Mylex DAC960, AcceleRAID, and
152 eXtremeRAID PCI RAID controllers. See the file
31c00fc1
RD
153 <file:Documentation/blockdev/README.DAC960> for further information
154 about this driver.
1da177e4
LT
155
156 To compile this driver as a module, choose M here: the
157 module will be called DAC960.
158
159config BLK_DEV_UMEM
160 tristate "Micro Memory MM5415 Battery Backed RAM support (EXPERIMENTAL)"
161 depends on PCI && EXPERIMENTAL
162 ---help---
163 Saying Y here will include support for the MM5415 family of
164 battery backed (Non-volatile) RAM cards.
165 <http://www.umem.com/>
166
167 The cards appear as block devices that can be partitioned into
168 as many as 15 partitions.
169
170 To compile this driver as a module, choose M here: the
171 module will be called umem.
172
173 The umem driver has not yet been allocated a MAJOR number, so
bf6ee0ae 174 one is chosen dynamically.
1da177e4
LT
175
176config BLK_DEV_UBD
177 bool "Virtual block device"
178 depends on UML
179 ---help---
180 The User-Mode Linux port includes a driver called UBD which will let
181 you access arbitrary files on the host computer as block devices.
182 Unless you know that you do not need such virtual block devices say
183 Y here.
184
185config BLK_DEV_UBD_SYNC
186 bool "Always do synchronous disk IO for UBD"
187 depends on BLK_DEV_UBD
188 ---help---
189 Writes to the virtual block device are not immediately written to the
190 host's disk; this may cause problems if, for example, the User-Mode
191 Linux 'Virtual Machine' uses a journalling filesystem and the host
192 computer crashes.
193
194 Synchronous operation (i.e. always writing data to the host's disk
195 immediately) is configurable on a per-UBD basis by using a special
196 kernel command line option. Alternatively, you can say Y here to
197 turn on synchronous operation by default for all block devices.
198
199 If you're running a journalling file system (like reiserfs, for
200 example) in your virtual machine, you will want to say Y here. If
201 you care for the safety of the data in your virtual machine, Y is a
202 wise choice too. In all other cases (for example, if you're just
203 playing around with User-Mode Linux) you can choose N.
204
205config BLK_DEV_COW_COMMON
206 bool
207 default BLK_DEV_UBD
208
1da177e4
LT
209config BLK_DEV_LOOP
210 tristate "Loopback device support"
211 ---help---
212 Saying Y here will allow you to use a regular file as a block
213 device; you can then create a file system on that block device and
214 mount it just as you would mount other block devices such as hard
215 drive partitions, CD-ROM drives or floppy drives. The loop devices
216 are block special device files with major number 7 and typically
217 called /dev/loop0, /dev/loop1 etc.
218
219 This is useful if you want to check an ISO 9660 file system before
220 burning the CD, or if you want to use floppy images without first
221 writing them to floppy. Furthermore, some Linux distributions avoid
222 the need for a dedicated Linux partition by keeping their complete
223 root file system inside a DOS FAT file using this loop device
224 driver.
225
226 To use the loop device, you need the losetup utility, found in the
227 util-linux package, see
228 <ftp://ftp.kernel.org/pub/linux/utils/util-linux/>.
229
230 The loop device driver can also be used to "hide" a file system in
231 a disk partition, floppy, or regular file, either using encryption
232 (scrambling the data) or steganography (hiding the data in the low
233 bits of, say, a sound file). This is also safe if the file resides
234 on a remote file server.
235
236 There are several ways of encrypting disks. Some of these require
237 kernel patches. The vanilla kernel offers the cryptoloop option
238 and a Device Mapper target (which is superior, as it supports all
239 file systems). If you want to use the cryptoloop, say Y to both
240 LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
241 or later) version of util-linux. Additionally, be aware that
242 the cryptoloop is not safe for storing journaled filesystems.
243
244 Note that this loop device has nothing to do with the loopback
245 device used for network connections from the machine to itself.
246
247 To compile this driver as a module, choose M here: the
248 module will be called loop.
249
250 Most users will answer N here.
251
252config BLK_DEV_CRYPTOLOOP
253 tristate "Cryptoloop Support"
254 select CRYPTO
8df3b0a2 255 select CRYPTO_CBC
1da177e4
LT
256 depends on BLK_DEV_LOOP
257 ---help---
258 Say Y here if you want to be able to use the ciphers that are
259 provided by the CryptoAPI as loop transformation. This might be
260 used as hard disk encryption.
261
262 WARNING: This device is not safe for journaled file systems like
263 ext3 or Reiserfs. Please use the Device Mapper crypto module
264 instead, which can be configured to be on-disk compatible with the
265 cryptoloop device.
266
267config BLK_DEV_NBD
268 tristate "Network block device support"
269 depends on NET
270 ---help---
271 Saying Y here will allow your computer to be a client for network
272 block devices, i.e. it will be able to use block devices exported by
273 servers (mount file systems on them etc.). Communication between
274 client and server works over TCP/IP networking, but to the client
275 program this is hidden: it looks like a regular local file access to
276 a block device special file such as /dev/nd0.
277
278 Network block devices also allows you to run a block-device in
279 userland (making server and client physically the same computer,
280 communicating using the loopback network device).
281
31c00fc1
RD
282 Read <file:Documentation/blockdev/nbd.txt> for more information,
283 especially about where to find the server code, which runs in user
284 space and does not need special kernel support.
1da177e4
LT
285
286 Note that this has nothing to do with the network file systems NFS
287 or Coda; you can say N here even if you intend to use NFS or Coda.
288
289 To compile this driver as a module, choose M here: the
290 module will be called nbd.
291
292 If unsure, say N.
293
294config BLK_DEV_SX8
295 tristate "Promise SATA SX8 support"
296 depends on PCI
297 ---help---
298 Saying Y or M here will enable support for the
299 Promise SATA SX8 controllers.
300
301 Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
302
303config BLK_DEV_UB
304 tristate "Low Performance USB Block driver"
305 depends on USB
306 help
307 This driver supports certain USB attached storage devices
308 such as flash keys.
309
a00828e9
PZ
310 If you enable this driver, it is recommended to avoid conflicts
311 with usb-storage by enabling USB_LIBUSUAL.
1da177e4
LT
312
313 If unsure, say N.
314
315config BLK_DEV_RAM
9db5579b 316 tristate "RAM block device support"
1da177e4
LT
317 ---help---
318 Saying Y here will allow you to use a portion of your RAM memory as
319 a block device, so that you can make file systems on it, read and
320 write to it and do all the other things that you can do with normal
321 block devices (such as hard drives). It is usually used to load and
322 store a copy of a minimal root file system off of a floppy into RAM
323 during the initial install of Linux.
324
31c00fc1
RD
325 Note that the kernel command line option "ramdisk=XX" is now obsolete.
326 For details, read <file:Documentation/blockdev/ramdisk.txt>.
1da177e4
LT
327
328 To compile this driver as a module, choose M here: the
329 module will be called rd.
330
331 Most normal users won't need the RAM disk functionality, and can
332 thus say N here.
333
334config BLK_DEV_RAM_COUNT
a687fb18 335 int "Default number of RAM disks"
1da177e4 336 default "16"
a687fb18 337 depends on BLK_DEV_RAM
1da177e4 338 help
2e977c85 339 The default value is 16 RAM disks. Change this if you know what you
1da177e4
LT
340 are doing. If you boot from a filesystem that needs to be extracted
341 in memory, you will need at least one RAM disk (e.g. root on cramfs).
342
343config BLK_DEV_RAM_SIZE
344 int "Default RAM disk size (kbytes)"
345 depends on BLK_DEV_RAM
346 default "4096"
347 help
348 The default value is 4096 kilobytes. Only change this if you know
2e977c85 349 what you are doing.
1da177e4 350
75acb9cd
NP
351config BLK_DEV_XIP
352 bool "Support XIP filesystems on RAM block device"
353 depends on BLK_DEV_RAM
354 default n
355 help
356 Support XIP filesystems (such as ext2 with XIP support on) on
357 top of block ram device. This will slightly enlarge the kernel, and
358 will prevent RAM block device backing store memory from being
359 allocated from highmem (only a problem for highmem systems).
360
1da177e4
LT
361config CDROM_PKTCDVD
362 tristate "Packet writing on CD/DVD media"
363 depends on !UML
364 help
2d4eeec5
TM
365 If you have a CDROM/DVD drive that supports packet writing, say
366 Y to include support. It should work with any MMC/Mt Fuji
367 compliant ATAPI or SCSI drive, which is just about any newer
368 DVD/CD writer.
1da177e4 369
2d4eeec5
TM
370 Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
371 is possible.
1da177e4
LT
372 DVD-RW disks must be in restricted overwrite mode.
373
2d4eeec5
TM
374 See the file <file:Documentation/cdrom/packet-writing.txt>
375 for further information on the use of this driver.
376
1da177e4
LT
377 To compile this driver as a module, choose M here: the
378 module will be called pktcdvd.
379
380config CDROM_PKTCDVD_BUFFERS
381 int "Free buffers for data gathering"
382 depends on CDROM_PKTCDVD
383 default "8"
384 help
385 This controls the maximum number of active concurrent packets. More
386 concurrent packets can increase write performance, but also require
387 more memory. Each concurrent packet will require approximately 64Kb
e1bc89bc
PO
388 of non-swappable kernel memory, memory which will be allocated when
389 a disc is opened for writing.
1da177e4
LT
390
391config CDROM_PKTCDVD_WCACHE
b566ccef
AB
392 bool "Enable write caching (EXPERIMENTAL)"
393 depends on CDROM_PKTCDVD && EXPERIMENTAL
1da177e4
LT
394 help
395 If enabled, write caching will be set for the CD-R/W device. For now
396 this option is dangerous unless the CD-RW media is known good, as we
397 don't do deferred write error handling yet.
398
1da177e4
LT
399config ATA_OVER_ETH
400 tristate "ATA over Ethernet support"
401 depends on NET
402 help
403 This driver provides Support for ATA over Ethernet block
404 devices like the Coraid EtherDrive (R) Storage Blade.
405
667ef3c3
DM
406config SUNVDC
407 tristate "Sun Virtual Disk Client support"
408 depends on SUN_LDOMS
409 help
410 Support for virtual disk devices as a client under Sun
411 Logical Domains.
412
61d48c2c
MS
413source "drivers/s390/block/Kconfig"
414
74489a91
GL
415config XILINX_SYSACE
416 tristate "Xilinx SystemACE support"
417 depends on 4xx
418 help
419 Include support for the Xilinx SystemACE CompactFlash interface
420
9f27ee59
JF
421config XEN_BLKDEV_FRONTEND
422 tristate "Xen virtual block device support"
423 depends on XEN
424 default y
425 help
426 This driver implements the front-end of the Xen virtual
427 block device driver. It communicates with a back-end driver
428 in another domain which drives the actual block device.
429
e467cde2
RR
430config VIRTIO_BLK
431 tristate "Virtio block driver (EXPERIMENTAL)"
432 depends on EXPERIMENTAL && VIRTIO
433 ---help---
0ad07ec1
AL
434 This is the virtual block driver for virtio. It can be used with
435 lguest or QEMU based VMMs (like KVM or Xen). Say Y or M.
e467cde2 436
453ea3ed 437config BLK_DEV_HD
f327c1c3 438 bool "Very old hard disk (MFM/RLL/IDE) driver"
453ea3ed
AB
439 depends on HAVE_IDE
440 depends on !ARM || ARCH_RPC || ARCH_SHARK || BROKEN
441 help
f327c1c3
AB
442 This is a very old hard disk driver that lacks the enhanced
443 functionality of the newer ones.
444
445 It is required for systems with ancient MFM/RLL/ESDI drives.
446
447 If unsure, say N.
453ea3ed 448
fd11d171 449endif # BLK_DEV