blob: 4245b7f80a49de11d2709ffd66a23f7d371137a3 [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
207config MMAPPER
208 tristate "Example IO memory driver (BROKEN)"
209 depends on UML && BROKEN
210 ---help---
211 The User-Mode Linux port can provide support for IO Memory
212 emulation with this option. This allows a host file to be
213 specified as an I/O region on the kernel command line. That file
214 will be mapped into UML's kernel address space where a driver can
215 locate it and do whatever it wants with the memory, including
216 providing an interface to it for UML processes to use.
217
218 For more information, see
219 <http://user-mode-linux.sourceforge.net/iomem.html>.
220
221 If you'd like to be able to provide a simulated IO port space for
222 User-Mode Linux processes, say Y. If unsure, say N.
223
224config BLK_DEV_LOOP
225 tristate "Loopback device support"
226 ---help---
227 Saying Y here will allow you to use a regular file as a block
228 device; you can then create a file system on that block device and
229 mount it just as you would mount other block devices such as hard
230 drive partitions, CD-ROM drives or floppy drives. The loop devices
231 are block special device files with major number 7 and typically
232 called /dev/loop0, /dev/loop1 etc.
233
234 This is useful if you want to check an ISO 9660 file system before
235 burning the CD, or if you want to use floppy images without first
236 writing them to floppy. Furthermore, some Linux distributions avoid
237 the need for a dedicated Linux partition by keeping their complete
238 root file system inside a DOS FAT file using this loop device
239 driver.
240
241 To use the loop device, you need the losetup utility, found in the
242 util-linux package, see
243 <ftp://ftp.kernel.org/pub/linux/utils/util-linux/>.
244
245 The loop device driver can also be used to "hide" a file system in
246 a disk partition, floppy, or regular file, either using encryption
247 (scrambling the data) or steganography (hiding the data in the low
248 bits of, say, a sound file). This is also safe if the file resides
249 on a remote file server.
250
251 There are several ways of encrypting disks. Some of these require
252 kernel patches. The vanilla kernel offers the cryptoloop option
253 and a Device Mapper target (which is superior, as it supports all
254 file systems). If you want to use the cryptoloop, say Y to both
255 LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
256 or later) version of util-linux. Additionally, be aware that
257 the cryptoloop is not safe for storing journaled filesystems.
258
259 Note that this loop device has nothing to do with the loopback
260 device used for network connections from the machine to itself.
261
262 To compile this driver as a module, choose M here: the
263 module will be called loop.
264
265 Most users will answer N here.
266
267config BLK_DEV_CRYPTOLOOP
268 tristate "Cryptoloop Support"
269 select CRYPTO
Herbert Xu8df3b0a2006-12-02 14:36:03 +1100270 select CRYPTO_CBC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700271 depends on BLK_DEV_LOOP
272 ---help---
273 Say Y here if you want to be able to use the ciphers that are
274 provided by the CryptoAPI as loop transformation. This might be
275 used as hard disk encryption.
276
277 WARNING: This device is not safe for journaled file systems like
278 ext3 or Reiserfs. Please use the Device Mapper crypto module
279 instead, which can be configured to be on-disk compatible with the
280 cryptoloop device.
281
282config BLK_DEV_NBD
283 tristate "Network block device support"
284 depends on NET
285 ---help---
286 Saying Y here will allow your computer to be a client for network
287 block devices, i.e. it will be able to use block devices exported by
288 servers (mount file systems on them etc.). Communication between
289 client and server works over TCP/IP networking, but to the client
290 program this is hidden: it looks like a regular local file access to
291 a block device special file such as /dev/nd0.
292
293 Network block devices also allows you to run a block-device in
294 userland (making server and client physically the same computer,
295 communicating using the loopback network device).
296
297 Read <file:Documentation/nbd.txt> for more information, especially
298 about where to find the server code, which runs in user space and
299 does not need special kernel support.
300
301 Note that this has nothing to do with the network file systems NFS
302 or Coda; you can say N here even if you intend to use NFS or Coda.
303
304 To compile this driver as a module, choose M here: the
305 module will be called nbd.
306
307 If unsure, say N.
308
309config BLK_DEV_SX8
310 tristate "Promise SATA SX8 support"
311 depends on PCI
312 ---help---
313 Saying Y or M here will enable support for the
314 Promise SATA SX8 controllers.
315
316 Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
317
318config BLK_DEV_UB
319 tristate "Low Performance USB Block driver"
320 depends on USB
321 help
322 This driver supports certain USB attached storage devices
323 such as flash keys.
324
Pete Zaitceva00828e2005-10-22 20:15:09 -0700325 If you enable this driver, it is recommended to avoid conflicts
326 with usb-storage by enabling USB_LIBUSUAL.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700327
328 If unsure, say N.
329
330config BLK_DEV_RAM
331 tristate "RAM disk support"
332 ---help---
333 Saying Y here will allow you to use a portion of your RAM memory as
334 a block device, so that you can make file systems on it, read and
335 write to it and do all the other things that you can do with normal
336 block devices (such as hard drives). It is usually used to load and
337 store a copy of a minimal root file system off of a floppy into RAM
338 during the initial install of Linux.
339
340 Note that the kernel command line option "ramdisk=XX" is now
341 obsolete. For details, read <file:Documentation/ramdisk.txt>.
342
343 To compile this driver as a module, choose M here: the
344 module will be called rd.
345
346 Most normal users won't need the RAM disk functionality, and can
347 thus say N here.
348
349config BLK_DEV_RAM_COUNT
Adrian Bunka687fb12006-03-28 01:56:17 -0800350 int "Default number of RAM disks"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700351 default "16"
Adrian Bunka687fb12006-03-28 01:56:17 -0800352 depends on BLK_DEV_RAM
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 help
354 The default value is 16 RAM disks. Change this if you know what
355 are doing. If you boot from a filesystem that needs to be extracted
356 in memory, you will need at least one RAM disk (e.g. root on cramfs).
357
358config BLK_DEV_RAM_SIZE
359 int "Default RAM disk size (kbytes)"
360 depends on BLK_DEV_RAM
361 default "4096"
362 help
363 The default value is 4096 kilobytes. Only change this if you know
364 what are you doing. If you are using IBM S/390, then set this to
365 8192.
366
Nathan Scottbef317e2006-07-14 00:24:10 -0700367config BLK_DEV_RAM_BLOCKSIZE
368 int "Default RAM disk block size (bytes)"
369 depends on BLK_DEV_RAM
370 default "1024"
371 help
Christian Borntraeger73cf9632006-10-03 23:40:34 +0200372 The default value is 1024 bytes. PAGE_SIZE is a much more
Nathan Scottbef317e2006-07-14 00:24:10 -0700373 efficient choice however. The default is kept to ensure initrd
374 setups function - apparently needed by the rd_load_image routine
375 that supposes the filesystem in the image uses a 1024 blocksize.
376
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377config CDROM_PKTCDVD
378 tristate "Packet writing on CD/DVD media"
379 depends on !UML
380 help
Thomas Maier2d4eeec52006-12-08 02:36:10 -0800381 If you have a CDROM/DVD drive that supports packet writing, say
382 Y to include support. It should work with any MMC/Mt Fuji
383 compliant ATAPI or SCSI drive, which is just about any newer
384 DVD/CD writer.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700385
Thomas Maier2d4eeec52006-12-08 02:36:10 -0800386 Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
387 is possible.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700388 DVD-RW disks must be in restricted overwrite mode.
389
Thomas Maier2d4eeec52006-12-08 02:36:10 -0800390 See the file <file:Documentation/cdrom/packet-writing.txt>
391 for further information on the use of this driver.
392
Linus Torvalds1da177e2005-04-16 15:20:36 -0700393 To compile this driver as a module, choose M here: the
394 module will be called pktcdvd.
395
396config CDROM_PKTCDVD_BUFFERS
397 int "Free buffers for data gathering"
398 depends on CDROM_PKTCDVD
399 default "8"
400 help
401 This controls the maximum number of active concurrent packets. More
402 concurrent packets can increase write performance, but also require
403 more memory. Each concurrent packet will require approximately 64Kb
Peter Osterlunde1bc89b2006-02-04 23:27:47 -0800404 of non-swappable kernel memory, memory which will be allocated when
405 a disc is opened for writing.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406
407config CDROM_PKTCDVD_WCACHE
Adrian Bunkb566cce2006-02-04 23:27:45 -0800408 bool "Enable write caching (EXPERIMENTAL)"
409 depends on CDROM_PKTCDVD && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700410 help
411 If enabled, write caching will be set for the CD-R/W device. For now
412 this option is dangerous unless the CD-RW media is known good, as we
413 don't do deferred write error handling yet.
414
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415config ATA_OVER_ETH
416 tristate "ATA over Ethernet support"
417 depends on NET
418 help
419 This driver provides Support for ATA over Ethernet block
420 devices like the Coraid EtherDrive (R) Storage Blade.
421
David S. Miller667ef3c2007-07-16 04:03:56 -0700422config SUNVDC
423 tristate "Sun Virtual Disk Client support"
424 depends on SUN_LDOMS
425 help
426 Support for virtual disk devices as a client under Sun
427 Logical Domains.
428
Martin Schwidefsky61d48c22007-05-10 15:46:00 +0200429source "drivers/s390/block/Kconfig"
430
Grant Likely74489a92007-07-17 04:03:39 -0700431config XILINX_SYSACE
432 tristate "Xilinx SystemACE support"
433 depends on 4xx
434 help
435 Include support for the Xilinx SystemACE CompactFlash interface
436
Jeremy Fitzhardinge9f27ee52007-07-17 18:37:06 -0700437config XEN_BLKDEV_FRONTEND
438 tristate "Xen virtual block device support"
439 depends on XEN
440 default y
441 help
442 This driver implements the front-end of the Xen virtual
443 block device driver. It communicates with a back-end driver
444 in another domain which drives the actual block device.
445
Jan Engelhardtfd11d172007-07-10 12:26:06 +0200446endif # BLK_DEV