hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/block/Kconfig
....@@ -7,7 +7,7 @@
77 bool "Block devices"
88 depends on BLOCK
99 default y
10
- ---help---
10
+ help
1111 Say Y here to get to see options for various different block device
1212 drivers. This option alone does not add any kernel code.
1313
....@@ -16,28 +16,38 @@
1616
1717 if BLK_DEV
1818
19
-config BLK_DEV_NULL_BLK
20
- tristate "Null test block driver"
21
- select CONFIGFS_FS
22
-
23
-config BLK_DEV_NULL_BLK_FAULT_INJECTION
24
- bool "Support fault injection for Null test block driver"
25
- depends on BLK_DEV_NULL_BLK && FAULT_INJECTION
19
+source "drivers/block/null_blk/Kconfig"
2620
2721 config BLK_DEV_FD
2822 tristate "Normal floppy disk support"
2923 depends on ARCH_MAY_HAVE_PC_FDC
30
- ---help---
24
+ help
3125 If you want to use the floppy disk drive(s) of your PC under Linux,
3226 say Y. Information about this driver, especially important for IBM
3327 Thinkpad users, is contained in
34
- <file:Documentation/blockdev/floppy.txt>.
28
+ <file:Documentation/admin-guide/blockdev/floppy.rst>.
3529 That file also contains the location of the Floppy driver FAQ as
3630 well as location of the fdutils package used to configure additional
3731 parameters of the driver at run time.
3832
3933 To compile this driver as a module, choose M here: the
4034 module will be called floppy.
35
+
36
+config BLK_DEV_FD_RAWCMD
37
+ bool "Support for raw floppy disk commands (DEPRECATED)"
38
+ depends on BLK_DEV_FD
39
+ help
40
+ If you want to use actual physical floppies and expect to do
41
+ special low-level hardware accesses to them (access and use
42
+ non-standard formats, for example), then enable this.
43
+
44
+ Note that the code enabled by this option is rarely used and
45
+ might be unstable or insecure, and distros should not enable it.
46
+
47
+ Note: FDRAWCMD is deprecated and will be removed from the kernel
48
+ in the near future.
49
+
50
+ If unsure, say N.
4151
4252 config AMIGA_FLOPPY
4353 tristate "Amiga floppy support"
....@@ -91,12 +101,12 @@
91101 config PARIDE
92102 tristate "Parallel port IDE device support"
93103 depends on PARPORT_PC
94
- ---help---
104
+ help
95105 There are many external CD-ROM and disk devices that connect through
96106 your computer's parallel port. Most of them are actually IDE devices
97107 using a parallel port IDE adapter. This option enables the PARIDE
98108 subsystem which contains drivers for many of these external drives.
99
- Read <file:Documentation/blockdev/paride.txt> for more information.
109
+ Read <file:Documentation/admin-guide/blockdev/paride.rst> for more information.
100110
101111 If you have said Y to the "Parallel-port support" configuration
102112 option, you may share a single port between your printer and other
....@@ -121,22 +131,10 @@
121131
122132 source "drivers/block/zram/Kconfig"
123133
124
-config BLK_DEV_DAC960
125
- tristate "Mylex DAC960/DAC1100 PCI RAID Controller support"
126
- depends on PCI
127
- help
128
- This driver adds support for the Mylex DAC960, AcceleRAID, and
129
- eXtremeRAID PCI RAID controllers. See the file
130
- <file:Documentation/blockdev/README.DAC960> for further information
131
- about this driver.
132
-
133
- To compile this driver as a module, choose M here: the
134
- module will be called DAC960.
135
-
136134 config BLK_DEV_UMEM
137135 tristate "Micro Memory MM5415 Battery Backed RAM support"
138136 depends on PCI
139
- ---help---
137
+ help
140138 Saying Y here will include support for the MM5415 family of
141139 battery backed (Non-volatile) RAM cards.
142140 <http://www.umem.com/>
....@@ -153,7 +151,7 @@
153151 config BLK_DEV_UBD
154152 bool "Virtual block device"
155153 depends on UML
156
- ---help---
154
+ help
157155 The User-Mode Linux port includes a driver called UBD which will let
158156 you access arbitrary files on the host computer as block devices.
159157 Unless you know that you do not need such virtual block devices say
....@@ -162,7 +160,7 @@
162160 config BLK_DEV_UBD_SYNC
163161 bool "Always do synchronous disk IO for UBD"
164162 depends on BLK_DEV_UBD
165
- ---help---
163
+ help
166164 Writes to the virtual block device are not immediately written to the
167165 host's disk; this may cause problems if, for example, the User-Mode
168166 Linux 'Virtual Machine' uses a journalling filesystem and the host
....@@ -185,7 +183,7 @@
185183
186184 config BLK_DEV_LOOP
187185 tristate "Loopback device support"
188
- ---help---
186
+ help
189187 Saying Y here will allow you to use a regular file as a block
190188 device; you can then create a file system on that block device and
191189 mount it just as you would mount other block devices such as hard
....@@ -246,7 +244,7 @@
246244 select CRYPTO
247245 select CRYPTO_CBC
248246 depends on BLK_DEV_LOOP
249
- ---help---
247
+ help
250248 Say Y here if you want to be able to use the ciphers that are
251249 provided by the CryptoAPI as loop transformation. This might be
252250 used as hard disk encryption.
....@@ -261,7 +259,7 @@
261259 config BLK_DEV_NBD
262260 tristate "Network block device support"
263261 depends on NET
264
- ---help---
262
+ help
265263 Saying Y here will allow your computer to be a client for network
266264 block devices, i.e. it will be able to use block devices exported by
267265 servers (mount file systems on them etc.). Communication between
....@@ -273,7 +271,7 @@
273271 userland (making server and client physically the same computer,
274272 communicating using the loopback network device).
275273
276
- Read <file:Documentation/blockdev/nbd.txt> for more information,
274
+ Read <file:Documentation/admin-guide/blockdev/nbd.rst> for more information,
277275 especially about where to find the server code, which runs in user
278276 space and does not need special kernel support.
279277
....@@ -289,24 +287,15 @@
289287 tristate "STEC S1120 Block Driver"
290288 depends on PCI
291289 depends on 64BIT
292
- ---help---
290
+ help
293291 Saying Y or M here will enable support for the
294292 STEC, Inc. S1120 PCIe SSD.
295293
296294 Use device /dev/skd$N amd /dev/skd$Np$M.
297295
298
-config BLK_DEV_SX8
299
- tristate "Promise SATA SX8 support"
300
- depends on PCI
301
- ---help---
302
- Saying Y or M here will enable support for the
303
- Promise SATA SX8 controllers.
304
-
305
- Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
306
-
307296 config BLK_DEV_RAM
308297 tristate "RAM block device support"
309
- ---help---
298
+ help
310299 Saying Y here will allow you to use a portion of your RAM memory as
311300 a block device, so that you can make file systems on it, read and
312301 write to it and do all the other things that you can do with normal
....@@ -315,7 +304,7 @@
315304 during the initial install of Linux.
316305
317306 Note that the kernel command line option "ramdisk=XX" is now obsolete.
318
- For details, read <file:Documentation/blockdev/ramdisk.txt>.
307
+ For details, read <file:Documentation/admin-guide/blockdev/ramdisk.rst>.
319308
320309 To compile this driver as a module, choose M here: the
321310 module will be called brd. An alias "rd" has been defined
....@@ -359,7 +348,7 @@
359348 is possible.
360349 DVD-RW disks must be in restricted overwrite mode.
361350
362
- See the file <file:Documentation/cdrom/packet-writing.txt>
351
+ See the file <file:Documentation/cdrom/packet-writing.rst>
363352 for further information on the use of this driver.
364353
365354 To compile this driver as a module, choose M here: the
....@@ -440,19 +429,9 @@
440429 config VIRTIO_BLK
441430 tristate "Virtio block driver"
442431 depends on VIRTIO
443
- ---help---
432
+ help
444433 This is the virtual block driver for virtio. It can be used with
445434 QEMU based VMMs (like KVM or Xen). Say Y or M.
446
-
447
-config VIRTIO_BLK_SCSI
448
- bool "SCSI passthrough request for the Virtio block driver"
449
- depends on VIRTIO_BLK
450
- select BLK_SCSI_REQUEST
451
- ---help---
452
- Enable support for SCSI passthrough (e.g. the SG_IO ioctl) on
453
- virtio-blk devices. This is only supported for the legacy
454
- virtio protocol and not enabled by default by any hypervisor.
455
- You probably want to use virtio-scsi instead.
456435
457436 config BLK_DEV_RBD
458437 tristate "Rados block device (RBD)"
....@@ -461,7 +440,6 @@
461440 select LIBCRC32C
462441 select CRYPTO_AES
463442 select CRYPTO
464
- default n
465443 help
466444 Say Y here if you want include the Rados block device, which stripes
467445 a block device over objects stored in the Ceph distributed object
....@@ -482,4 +460,6 @@
482460 To compile this driver as a module, choose M here: the
483461 module will be called rsxx.
484462
463
+source "drivers/block/rnbd/Kconfig"
464
+
485465 endif # BLK_DEV