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