]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/block/Kconfig
Merge remote-tracking branch 'arm-soc/for-next'
[karo-tx-linux.git] / drivers / block / Kconfig
1 #
2 # Block device driver configuration
3 #
4
5 menuconfig BLK_DEV
6         bool "Block devices"
7         depends on BLOCK
8         default y
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.
15
16 if BLK_DEV
17
18 config BLK_DEV_FD
19         tristate "Normal floppy disk support"
20         depends on ARCH_MAY_HAVE_PC_FDC
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
25           <file:Documentation/blockdev/floppy.txt>.
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
33 config AMIGA_FLOPPY
34         tristate "Amiga floppy support"
35         depends on AMIGA
36
37 config ATARI_FLOPPY
38         tristate "Atari floppy support"
39         depends on ATARI
40
41 config 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
48 config BLK_DEV_SWIM
49         tristate "Support for SWIM Macintosh floppy"
50         depends on M68K && MAC
51         help
52           You should select this option if you want floppy support
53           and you don't have a II, IIfx, Q900, Q950 or AV series.
54
55 config AMIGA_Z2RAM
56         tristate "Amiga Zorro II ramdisk support"
57         depends on ZORRO
58         help
59           This enables support for using Chip RAM and Zorro II RAM as a
60           ramdisk or as a swap partition. Say Y if you want to include this
61           driver in the kernel.
62
63           To compile this driver as a module, choose M here: the
64           module will be called z2ram.
65
66 config GDROM
67         tristate "SEGA Dreamcast GD-ROM drive"
68         depends on SH_DREAMCAST
69         help
70           A standard SEGA Dreamcast comes with a modified CD ROM drive called a
71           "GD-ROM" by SEGA to signify it is capable of reading special disks
72           with up to 1 GB of data. This drive will also read standard CD ROM
73           disks. Select this option to access any disks in your GD ROM drive.
74           Most users will want to say "Y" here.
75           You can also build this as a module which will be called gdrom.
76
77 config PARIDE
78         tristate "Parallel port IDE device support"
79         depends on PARPORT_PC
80         ---help---
81           There are many external CD-ROM and disk devices that connect through
82           your computer's parallel port. Most of them are actually IDE devices
83           using a parallel port IDE adapter. This option enables the PARIDE
84           subsystem which contains drivers for many of these external drives.
85           Read <file:Documentation/blockdev/paride.txt> for more information.
86
87           If you have said Y to the "Parallel-port support" configuration
88           option, you may share a single port between your printer and other
89           parallel port devices. Answer Y to build PARIDE support into your
90           kernel, or M if you would like to build it as a loadable module. If
91           your parallel port support is in a loadable module, you must build
92           PARIDE as a module. If you built PARIDE support into your kernel,
93           you may still build the individual protocol modules and high-level
94           drivers as loadable modules. If you build this support as a module,
95           it will be called paride.
96
97           To use the PARIDE support, you must say Y or M here and also to at
98           least one high-level driver (e.g. "Parallel port IDE disks",
99           "Parallel port ATAPI CD-ROMs", "Parallel port ATAPI disks" etc.) and
100           to at least one protocol driver (e.g. "ATEN EH-100 protocol",
101           "MicroSolutions backpack protocol", "DataStor Commuter protocol"
102           etc.).
103
104 source "drivers/block/paride/Kconfig"
105
106 source "drivers/block/mtip32xx/Kconfig"
107
108 config BLK_CPQ_DA
109         tristate "Compaq SMART2 support"
110         depends on PCI && VIRT_TO_BUS && 0
111         help
112           This is the driver for Compaq Smart Array controllers.  Everyone
113           using these boards should say Y here.  See the file
114           <file:Documentation/blockdev/cpqarray.txt> for the current list of
115           boards supported by this driver, and for further information on the
116           use of this driver.
117
118 config BLK_CPQ_CISS_DA
119         tristate "Compaq Smart Array 5xxx support"
120         depends on PCI
121         select CHECK_SIGNATURE
122         help
123           This is the driver for Compaq Smart Array 5xxx controllers.
124           Everyone using these boards should say Y here.
125           See <file:Documentation/blockdev/cciss.txt> for the current list of
126           boards supported by this driver, and for further information
127           on the use of this driver.
128
129 config CISS_SCSI_TAPE
130         bool "SCSI tape drive support for Smart Array 5xxx"
131         depends on BLK_CPQ_CISS_DA && PROC_FS
132         depends on SCSI=y || SCSI=BLK_CPQ_CISS_DA
133         help
134           When enabled (Y), this option allows SCSI tape drives and SCSI medium
135           changers (tape robots) to be accessed via a Compaq 5xxx array 
136           controller.  (See <file:Documentation/blockdev/cciss.txt> for more details.)
137
138           "SCSI support" and "SCSI tape support" must also be enabled for this 
139           option to work.
140
141           When this option is disabled (N), the SCSI portion of the driver 
142           is not compiled.
143
144 config BLK_DEV_DAC960
145         tristate "Mylex DAC960/DAC1100 PCI RAID Controller support"
146         depends on PCI
147         help
148           This driver adds support for the Mylex DAC960, AcceleRAID, and
149           eXtremeRAID PCI RAID controllers.  See the file
150           <file:Documentation/blockdev/README.DAC960> for further information
151           about this driver.
152
153           To compile this driver as a module, choose M here: the
154           module will be called DAC960.
155
156 config BLK_DEV_UMEM
157         tristate "Micro Memory MM5415 Battery Backed RAM support"
158         depends on PCI
159         ---help---
160           Saying Y here will include support for the MM5415 family of
161           battery backed (Non-volatile) RAM cards.
162           <http://www.umem.com/>
163
164           The cards appear as block devices that can be partitioned into
165           as many as 15 partitions.
166
167           To compile this driver as a module, choose M here: the
168           module will be called umem.
169
170           The umem driver has not yet been allocated a MAJOR number, so
171           one is chosen dynamically.
172
173 config BLK_DEV_UBD
174         bool "Virtual block device"
175         depends on UML
176         ---help---
177           The User-Mode Linux port includes a driver called UBD which will let
178           you access arbitrary files on the host computer as block devices.
179           Unless you know that you do not need such virtual block devices say
180           Y here.
181
182 config BLK_DEV_UBD_SYNC
183         bool "Always do synchronous disk IO for UBD"
184         depends on BLK_DEV_UBD
185         ---help---
186           Writes to the virtual block device are not immediately written to the
187           host's disk; this may cause problems if, for example, the User-Mode
188           Linux 'Virtual Machine' uses a journalling filesystem and the host
189           computer crashes.
190
191           Synchronous operation (i.e. always writing data to the host's disk
192           immediately) is configurable on a per-UBD basis by using a special
193           kernel command line option.  Alternatively, you can say Y here to
194           turn on synchronous operation by default for all block devices.
195
196           If you're running a journalling file system (like reiserfs, for
197           example) in your virtual machine, you will want to say Y here.  If
198           you care for the safety of the data in your virtual machine, Y is a
199           wise choice too.  In all other cases (for example, if you're just
200           playing around with User-Mode Linux) you can choose N.
201
202 config BLK_DEV_COW_COMMON
203         bool
204         default BLK_DEV_UBD
205
206 config BLK_DEV_LOOP
207         tristate "Loopback device support"
208         ---help---
209           Saying Y here will allow you to use a regular file as a block
210           device; you can then create a file system on that block device and
211           mount it just as you would mount other block devices such as hard
212           drive partitions, CD-ROM drives or floppy drives. The loop devices
213           are block special device files with major number 7 and typically
214           called /dev/loop0, /dev/loop1 etc.
215
216           This is useful if you want to check an ISO 9660 file system before
217           burning the CD, or if you want to use floppy images without first
218           writing them to floppy. Furthermore, some Linux distributions avoid
219           the need for a dedicated Linux partition by keeping their complete
220           root file system inside a DOS FAT file using this loop device
221           driver.
222
223           To use the loop device, you need the losetup utility, found in the
224           util-linux package, see
225           <ftp://ftp.kernel.org/pub/linux/utils/util-linux/>.
226
227           The loop device driver can also be used to "hide" a file system in
228           a disk partition, floppy, or regular file, either using encryption
229           (scrambling the data) or steganography (hiding the data in the low
230           bits of, say, a sound file). This is also safe if the file resides
231           on a remote file server.
232
233           There are several ways of encrypting disks. Some of these require
234           kernel patches. The vanilla kernel offers the cryptoloop option
235           and a Device Mapper target (which is superior, as it supports all
236           file systems). If you want to use the cryptoloop, say Y to both
237           LOOP and CRYPTOLOOP, and make sure you have a recent (version 2.12
238           or later) version of util-linux. Additionally, be aware that
239           the cryptoloop is not safe for storing journaled filesystems.
240
241           Note that this loop device has nothing to do with the loopback
242           device used for network connections from the machine to itself.
243
244           To compile this driver as a module, choose M here: the
245           module will be called loop.
246
247           Most users will answer N here.
248
249 config BLK_DEV_LOOP_MIN_COUNT
250         int "Number of loop devices to pre-create at init time"
251         depends on BLK_DEV_LOOP
252         default 8
253         help
254           Static number of loop devices to be unconditionally pre-created
255           at init time.
256
257           This default value can be overwritten on the kernel command
258           line or with module-parameter loop.max_loop.
259
260           The historic default is 8. If a late 2011 version of losetup(8)
261           is used, it can be set to 0, since needed loop devices can be
262           dynamically allocated with the /dev/loop-control interface.
263
264 config BLK_DEV_CRYPTOLOOP
265         tristate "Cryptoloop Support"
266         select CRYPTO
267         select CRYPTO_CBC
268         depends on BLK_DEV_LOOP
269         ---help---
270           Say Y here if you want to be able to use the ciphers that are 
271           provided by the CryptoAPI as loop transformation. This might be
272           used as hard disk encryption.
273
274           WARNING: This device is not safe for journaled file systems like
275           ext3 or Reiserfs. Please use the Device Mapper crypto module
276           instead, which can be configured to be on-disk compatible with the
277           cryptoloop device.
278
279 source "drivers/block/drbd/Kconfig"
280
281 config BLK_DEV_NBD
282         tristate "Network block device support"
283         depends on NET
284         ---help---
285           Saying Y here will allow your computer to be a client for network
286           block devices, i.e. it will be able to use block devices exported by
287           servers (mount file systems on them etc.). Communication between
288           client and server works over TCP/IP networking, but to the client
289           program this is hidden: it looks like a regular local file access to
290           a block device special file such as /dev/nd0.
291
292           Network block devices also allows you to run a block-device in
293           userland (making server and client physically the same computer,
294           communicating using the loopback network device).
295
296           Read <file:Documentation/blockdev/nbd.txt> for more information,
297           especially about where to find the server code, which runs in user
298           space and does not need special kernel support.
299
300           Note that this has nothing to do with the network file systems NFS
301           or Coda; you can say N here even if you intend to use NFS or Coda.
302
303           To compile this driver as a module, choose M here: the
304           module will be called nbd.
305
306           If unsure, say N.
307
308 config BLK_DEV_NVME
309         tristate "NVM Express block device"
310         depends on PCI
311         ---help---
312           The NVM Express driver is for solid state drives directly
313           connected to the PCI or PCI Express bus.  If you know you
314           don't have one of these, it is safe to answer N.
315
316           To compile this driver as a module, choose M here: the
317           module will be called nvme.
318
319 config BLK_DEV_SKD
320         tristate "STEC S1120 Block Driver"
321         depends on PCI
322         depends on 64BIT
323         ---help---
324         Saying Y or M here will enable support for the
325         STEC, Inc. S1120 PCIe SSD.
326
327         Use device /dev/skd$N amd /dev/skd$Np$M.
328
329 config BLK_DEV_OSD
330         tristate "OSD object-as-blkdev support"
331         depends on SCSI_OSD_ULD
332         ---help---
333           Saying Y or M here will allow the exporting of a single SCSI
334           OSD (object-based storage) object as a Linux block device.
335
336           For example, if you create a 2G object on an OSD device,
337           you can then use this module to present that 2G object as
338           a Linux block device.
339
340           To compile this driver as a module, choose M here: the
341           module will be called osdblk.
342
343           If unsure, say N.
344
345 config BLK_DEV_SX8
346         tristate "Promise SATA SX8 support"
347         depends on PCI
348         ---help---
349           Saying Y or M here will enable support for the 
350           Promise SATA SX8 controllers.
351
352           Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
353
354 config BLK_DEV_RAM
355         tristate "RAM block device support"
356         ---help---
357           Saying Y here will allow you to use a portion of your RAM memory as
358           a block device, so that you can make file systems on it, read and
359           write to it and do all the other things that you can do with normal
360           block devices (such as hard drives). It is usually used to load and
361           store a copy of a minimal root file system off of a floppy into RAM
362           during the initial install of Linux.
363
364           Note that the kernel command line option "ramdisk=XX" is now obsolete.
365           For details, read <file:Documentation/blockdev/ramdisk.txt>.
366
367           To compile this driver as a module, choose M here: the
368           module will be called rd.
369
370           Most normal users won't need the RAM disk functionality, and can
371           thus say N here.
372
373 config BLK_DEV_RAM_COUNT
374         int "Default number of RAM disks"
375         default "16"
376         depends on BLK_DEV_RAM
377         help
378           The default value is 16 RAM disks. Change this if you know what you
379           are doing. If you boot from a filesystem that needs to be extracted
380           in memory, you will need at least one RAM disk (e.g. root on cramfs).
381
382 config BLK_DEV_RAM_SIZE
383         int "Default RAM disk size (kbytes)"
384         depends on BLK_DEV_RAM
385         default "4096"
386         help
387           The default value is 4096 kilobytes. Only change this if you know
388           what you are doing.
389
390 config BLK_DEV_XIP
391         bool "Support XIP filesystems on RAM block device"
392         depends on BLK_DEV_RAM
393         default n
394         help
395           Support XIP filesystems (such as ext2 with XIP support on) on
396           top of block ram device. This will slightly enlarge the kernel, and
397           will prevent RAM block device backing store memory from being
398           allocated from highmem (only a problem for highmem systems).
399
400 config CDROM_PKTCDVD
401         tristate "Packet writing on CD/DVD media"
402         depends on !UML
403         help
404           If you have a CDROM/DVD drive that supports packet writing, say
405           Y to include support. It should work with any MMC/Mt Fuji
406           compliant ATAPI or SCSI drive, which is just about any newer
407           DVD/CD writer.
408
409           Currently only writing to CD-RW, DVD-RW, DVD+RW and DVDRAM discs
410           is possible.
411           DVD-RW disks must be in restricted overwrite mode.
412
413           See the file <file:Documentation/cdrom/packet-writing.txt>
414           for further information on the use of this driver.
415
416           To compile this driver as a module, choose M here: the
417           module will be called pktcdvd.
418
419 config CDROM_PKTCDVD_BUFFERS
420         int "Free buffers for data gathering"
421         depends on CDROM_PKTCDVD
422         default "8"
423         help
424           This controls the maximum number of active concurrent packets. More
425           concurrent packets can increase write performance, but also require
426           more memory. Each concurrent packet will require approximately 64Kb
427           of non-swappable kernel memory, memory which will be allocated when
428           a disc is opened for writing.
429
430 config CDROM_PKTCDVD_WCACHE
431         bool "Enable write caching"
432         depends on CDROM_PKTCDVD
433         help
434           If enabled, write caching will be set for the CD-R/W device. For now
435           this option is dangerous unless the CD-RW media is known good, as we
436           don't do deferred write error handling yet.
437
438 config ATA_OVER_ETH
439         tristate "ATA over Ethernet support"
440         depends on NET
441         help
442         This driver provides Support for ATA over Ethernet block
443         devices like the Coraid EtherDrive (R) Storage Blade.
444
445 config MG_DISK
446         tristate "mGine mflash, gflash support"
447         depends on ARM && GPIOLIB
448         help
449           mGine mFlash(gFlash) block device driver
450
451 config MG_DISK_RES
452         int "Size of reserved area before MBR"
453         depends on MG_DISK
454         default 0
455         help
456           Define size of reserved area that usually used for boot. Unit is KB.
457           All of the block device operation will be taken this value as start
458           offset
459           Examples:
460                         1024 => 1 MB
461
462 config SUNVDC
463         tristate "Sun Virtual Disk Client support"
464         depends on SUN_LDOMS
465         help
466           Support for virtual disk devices as a client under Sun
467           Logical Domains.
468
469 source "drivers/s390/block/Kconfig"
470
471 config XILINX_SYSACE
472         tristate "Xilinx SystemACE support"
473         depends on 4xx || MICROBLAZE
474         help
475           Include support for the Xilinx SystemACE CompactFlash interface
476
477 config XEN_BLKDEV_FRONTEND
478         tristate "Xen virtual block device support"
479         depends on XEN
480         default y
481         select XEN_XENBUS_FRONTEND
482         help
483           This driver implements the front-end of the Xen virtual
484           block device driver.  It communicates with a back-end driver
485           in another domain which drives the actual block device.
486
487 config XEN_BLKDEV_BACKEND
488         tristate "Xen block-device backend driver"
489         depends on XEN_BACKEND
490         help
491           The block-device backend driver allows the kernel to export its
492           block devices to other guests via a high-performance shared-memory
493           interface.
494
495           The corresponding Linux frontend driver is enabled by the
496           CONFIG_XEN_BLKDEV_FRONTEND configuration option.
497
498           The backend driver attaches itself to a any block device specified
499           in the XenBus configuration. There are no limits to what the block
500           device as long as it has a major and minor.
501
502           If you are compiling a kernel to run in a Xen block backend driver
503           domain (often this is domain 0) you should say Y here. To
504           compile this driver as a module, chose M here: the module
505           will be called xen-blkback.
506
507
508 config VIRTIO_BLK
509         tristate "Virtio block driver"
510         depends on VIRTIO
511         ---help---
512           This is the virtual block driver for virtio.  It can be used with
513           lguest or QEMU based VMMs (like KVM or Xen).  Say Y or M.
514
515 config BLK_DEV_HD
516         bool "Very old hard disk (MFM/RLL/IDE) driver"
517         depends on HAVE_IDE
518         depends on !ARM || ARCH_RPC || BROKEN
519         help
520           This is a very old hard disk driver that lacks the enhanced
521           functionality of the newer ones.
522
523           It is required for systems with ancient MFM/RLL/ESDI drives.
524
525           If unsure, say N.
526
527 config BLK_DEV_RBD
528         tristate "Rados block device (RBD)"
529         depends on INET && BLOCK
530         select CEPH_LIB
531         select LIBCRC32C
532         select CRYPTO_AES
533         select CRYPTO
534         default n
535         help
536           Say Y here if you want include the Rados block device, which stripes
537           a block device over objects stored in the Ceph distributed object
538           store.
539
540           More information at http://ceph.newdream.net/.
541
542           If unsure, say N.
543
544 config BLK_DEV_RSXX
545         tristate "IBM Flash Adapter 900GB Full Height PCIe Device Driver"
546         depends on PCI
547         help
548           Device driver for IBM's high speed PCIe SSD
549           storage device: Flash Adapter 900GB Full Height.
550
551           To compile this driver as a module, choose M here: the
552           module will be called rsxx.
553
554 endif # BLK_DEV