blob: 0344a8a8321d130b3833681708426becdcfa45d1 [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
Randy Dunlap31c00fc2008-11-13 21:33:24 +000024 Thinkpad users, is contained in
25 <file:Documentation/blockdev/floppy.txt>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070026 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070041config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070048config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070059config BLK_DEV_XD
60 tristate "XT hard disk support"
Al Viroa5532602005-05-04 05:39:42 +010061 depends on ISA && ISA_DMA_API
Geert Uytterhoeven928923c2007-08-22 14:01:36 -070062 select CHECK_SIGNATURE
Linus Torvalds1da177e2005-04-16 15:20:36 -070063 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"
Marko Kohtala6a19b412006-01-06 00:19:49 -080074 depends on PARPORT_PC
Linus Torvalds1da177e2005-04-16 15:20:36 -070075 ---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.
Randy Dunlap31c00fc2008-11-13 21:33:24 +000080 Read <file:Documentation/blockdev/paride.txt> for more information.
Linus Torvalds1da177e2005-04-16 15:20:36 -070081
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
Adrian McMenamin74ee1a72008-01-21 18:52:48 +090099config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110source "drivers/block/paride/Kconfig"
111
112config BLK_CPQ_DA
113 tristate "Compaq SMART2 support"
Stephen Rothwellf057eac2007-07-15 23:40:05 -0700114 depends on PCI && VIRT_TO_BUS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115 help
116 This is the driver for Compaq Smart Array controllers. Everyone
117 using these boards should say Y here. See the file
Randy Dunlap31c00fc2008-11-13 21:33:24 +0000118 <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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121
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.
Randy Dunlap31c00fc2008-11-13 21:33:24 +0000128 See <file:Documentation/blockdev/cciss.txt> for the current list of
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129 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"
Randy Dunlap3e29fe82006-12-06 20:38:40 -0800134 depends on BLK_CPQ_CISS_DA && PROC_FS
135 depends on SCSI=y || SCSI=BLK_CPQ_CISS_DA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136 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
Randy Dunlap31c00fc2008-11-13 21:33:24 +0000139 controller. (See <file:Documentation/blockdev/cciss.txt> for more details.)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140
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
Randy Dunlap31c00fc2008-11-13 21:33:24 +0000153 <file:Documentation/blockdev/README.DAC960> for further information
154 about this driver.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155
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
Adrian Bunkbf6ee0a2006-10-03 22:17:48 +0200174 one is chosen dynamically.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175
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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209config 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
Herbert Xu8df3b0a2006-12-02 14:36:03 +1100255 select CRYPTO_CBC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256 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
Randy Dunlap31c00fc2008-11-13 21:33:24 +0000282 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285
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
Pete Zaitceva00828e2005-10-22 20:15:09 -0700310 If you enable this driver, it is recommended to avoid conflicts
311 with usb-storage by enabling USB_LIBUSUAL.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700312
313 If unsure, say N.
314
315config BLK_DEV_RAM
Nick Piggin9db55792008-02-08 04:19:49 -0800316 tristate "RAM block device support"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700317 ---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
Randy Dunlap31c00fc2008-11-13 21:33:24 +0000325 Note that the kernel command line option "ramdisk=XX" is now obsolete.
326 For details, read <file:Documentation/blockdev/ramdisk.txt>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700327
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
Adrian Bunka687fb12006-03-28 01:56:17 -0800335 int "Default number of RAM disks"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336 default "16"
Adrian Bunka687fb12006-03-28 01:56:17 -0800337 depends on BLK_DEV_RAM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700338 help
Patrick Ringl2e977c82007-10-19 23:05:02 +0200339 The default value is 16 RAM disks. Change this if you know what you
Linus Torvalds1da177e2005-04-16 15:20:36 -0700340 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
Patrick Ringl2e977c82007-10-19 23:05:02 +0200349 what you are doing.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350
Nick Piggin75acb9c2008-02-08 04:19:50 -0800351config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361config CDROM_PKTCDVD
362 tristate "Packet writing on CD/DVD media"
363 depends on !UML
364 help
Thomas Maier2d4eeec52006-12-08 02:36:10 -0800365 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369
Thomas Maier2d4eeec52006-12-08 02:36:10 -0800370 Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
371 is possible.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372 DVD-RW disks must be in restricted overwrite mode.
373
Thomas Maier2d4eeec52006-12-08 02:36:10 -0800374 See the file <file:Documentation/cdrom/packet-writing.txt>
375 for further information on the use of this driver.
376
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377 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
Peter Osterlunde1bc89b2006-02-04 23:27:47 -0800388 of non-swappable kernel memory, memory which will be allocated when
389 a disc is opened for writing.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700390
391config CDROM_PKTCDVD_WCACHE
Adrian Bunkb566cce2006-02-04 23:27:45 -0800392 bool "Enable write caching (EXPERIMENTAL)"
393 depends on CDROM_PKTCDVD && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700394 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399config 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
David S. Miller667ef3c2007-07-16 04:03:56 -0700406config 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
Martin Schwidefsky61d48c22007-05-10 15:46:00 +0200413source "drivers/s390/block/Kconfig"
414
Grant Likely74489a92007-07-17 04:03:39 -0700415config XILINX_SYSACE
416 tristate "Xilinx SystemACE support"
417 depends on 4xx
418 help
419 Include support for the Xilinx SystemACE CompactFlash interface
420
Jeremy Fitzhardinge9f27ee52007-07-17 18:37:06 -0700421config 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
Rusty Russelle467cde2007-10-22 11:03:38 +1000430config VIRTIO_BLK
431 tristate "Virtio block driver (EXPERIMENTAL)"
432 depends on EXPERIMENTAL && VIRTIO
433 ---help---
Anthony Liguori0ad07ec2007-11-07 20:46:31 -0600434 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.
Rusty Russelle467cde2007-10-22 11:03:38 +1000436
Adrian Bunk453ea3e2008-07-16 20:33:47 +0200437config BLK_DEV_HD
Adrian Bunkf327c1c2008-07-16 20:33:47 +0200438 bool "Very old hard disk (MFM/RLL/IDE) driver"
Adrian Bunk453ea3e2008-07-16 20:33:47 +0200439 depends on HAVE_IDE
440 depends on !ARM || ARCH_RPC || ARCH_SHARK || BROKEN
441 help
Adrian Bunkf327c1c2008-07-16 20:33:47 +0200442 This is a very old hard disk driver that lacks the enhanced
443 functionality of the newer ones.
Adrian Bunk453ea3e2008-07-16 20:33:47 +0200444
Adrian Bunkf327c1c2008-07-16 20:33:47 +0200445 It is required for systems with ancient MFM/RLL/ESDI drives.
Adrian Bunk453ea3e2008-07-16 20:33:47 +0200446
Adrian Bunkf327c1c2008-07-16 20:33:47 +0200447 If unsure, say N.
Adrian Bunk453ea3e2008-07-16 20:33:47 +0200448
Jan Engelhardtfd11d172007-07-10 12:26:06 +0200449endif # BLK_DEV