]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Block device driver configuration | |
3 | # | |
4 | ||
fd11d171 JE |
5 | menuconfig 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 | 16 | if BLK_DEV |
1da177e4 LT |
17 | |
18 | config 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 | |
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 | ||
32 | config AMIGA_FLOPPY | |
33 | tristate "Amiga floppy support" | |
34 | depends on AMIGA | |
35 | ||
36 | config ATARI_FLOPPY | |
37 | tristate "Atari floppy support" | |
38 | depends on ATARI | |
39 | ||
1da177e4 LT |
40 | config 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 | ||
47 | config 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 | ||
57 | config 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 | ||
1da177e4 LT |
68 | config BLK_DEV_XD |
69 | tristate "XT hard disk support" | |
a5532606 | 70 | depends on ISA && ISA_DMA_API |
928923c7 | 71 | select CHECK_SIGNATURE |
1da177e4 LT |
72 | 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 | ||
81 | config PARIDE | |
82 | tristate "Parallel port IDE device support" | |
6a19b41b | 83 | depends on PARPORT_PC |
1da177e4 LT |
84 | ---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 | ||
108 | source "drivers/block/paride/Kconfig" | |
109 | ||
110 | config BLK_CPQ_DA | |
111 | tristate "Compaq SMART2 support" | |
f057eac0 | 112 | depends on PCI && VIRT_TO_BUS |
1da177e4 LT |
113 | 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 | ||
120 | config 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 | ||
130 | config CISS_SCSI_TAPE | |
131 | bool "SCSI tape drive support for Smart Array 5xxx" | |
3e29fe83 RD |
132 | depends on BLK_CPQ_CISS_DA && PROC_FS |
133 | depends on SCSI=y || SCSI=BLK_CPQ_CISS_DA | |
1da177e4 LT |
134 | 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 | ||
145 | config 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 | ||
157 | config 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 | |
bf6ee0ae | 172 | one is chosen dynamically. |
1da177e4 LT |
173 | |
174 | config 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 | ||
183 | config 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 | ||
203 | config BLK_DEV_COW_COMMON | |
204 | bool | |
205 | default BLK_DEV_UBD | |
206 | ||
1da177e4 LT |
207 | config 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 | ||
250 | config BLK_DEV_CRYPTOLOOP | |
251 | tristate "Cryptoloop Support" | |
252 | select CRYPTO | |
8df3b0a2 | 253 | select CRYPTO_CBC |
1da177e4 LT |
254 | 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 | ||
265 | config 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 | ||
292 | config 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 | ||
301 | config 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 | ||
a00828e9 PZ |
308 | If you enable this driver, it is recommended to avoid conflicts |
309 | with usb-storage by enabling USB_LIBUSUAL. | |
1da177e4 LT |
310 | |
311 | If unsure, say N. | |
312 | ||
313 | config 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 | ||
332 | config BLK_DEV_RAM_COUNT | |
a687fb18 | 333 | int "Default number of RAM disks" |
1da177e4 | 334 | default "16" |
a687fb18 | 335 | depends on BLK_DEV_RAM |
1da177e4 | 336 | help |
2e977c85 | 337 | The default value is 16 RAM disks. Change this if you know what you |
1da177e4 LT |
338 | 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 | ||
341 | config 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 | |
2e977c85 | 347 | what you are doing. |
1da177e4 | 348 | |
bef317e3 NS |
349 | config BLK_DEV_RAM_BLOCKSIZE |
350 | int "Default RAM disk block size (bytes)" | |
351 | depends on BLK_DEV_RAM | |
352 | default "1024" | |
353 | help | |
73cf9630 | 354 | The default value is 1024 bytes. PAGE_SIZE is a much more |
bef317e3 NS |
355 | 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 | ||
1da177e4 LT |
359 | config CDROM_PKTCDVD |
360 | tristate "Packet writing on CD/DVD media" | |
361 | depends on !UML | |
362 | help | |
2d4eeec5 TM |
363 | 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. | |
1da177e4 | 367 | |
2d4eeec5 TM |
368 | Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs |
369 | is possible. | |
1da177e4 LT |
370 | DVD-RW disks must be in restricted overwrite mode. |
371 | ||
2d4eeec5 TM |
372 | See the file <file:Documentation/cdrom/packet-writing.txt> |
373 | for further information on the use of this driver. | |
374 | ||
1da177e4 LT |
375 | To compile this driver as a module, choose M here: the |
376 | module will be called pktcdvd. | |
377 | ||
378 | config 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 | |
e1bc89bc PO |
386 | of non-swappable kernel memory, memory which will be allocated when |
387 | a disc is opened for writing. | |
1da177e4 LT |
388 | |
389 | config CDROM_PKTCDVD_WCACHE | |
b566ccef AB |
390 | bool "Enable write caching (EXPERIMENTAL)" |
391 | depends on CDROM_PKTCDVD && EXPERIMENTAL | |
1da177e4 LT |
392 | 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 | ||
1da177e4 LT |
397 | config 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 | ||
667ef3c3 DM |
404 | config 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 | ||
61d48c2c MS |
411 | source "drivers/s390/block/Kconfig" |
412 | ||
74489a91 GL |
413 | config XILINX_SYSACE |
414 | tristate "Xilinx SystemACE support" | |
415 | depends on 4xx | |
416 | help | |
417 | Include support for the Xilinx SystemACE CompactFlash interface | |
418 | ||
9f27ee59 JF |
419 | config 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 | ||
e467cde2 RR |
428 | config 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 | ||
fd11d171 | 434 | endif # BLK_DEV |