Skip to content

Commit

Permalink
Use menuconfig objects II - MD
Browse files Browse the repository at this point in the history
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jan Engelhardt authored and Linus Torvalds committed Jul 17, 2007
1 parent 0c4a59f commit afd4403
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions drivers/md/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@
# Block device driver configuration
#

if BLOCK

menu "Multi-device support (RAID and LVM)"

config MD
menuconfig MD
bool "Multiple devices driver support (RAID and LVM)"
depends on BLOCK
help
Support multiple physical spindles through a single logical device.
Required for RAID and logical volume management.

if MD

config BLK_DEV_MD
tristate "RAID support"
depends on MD
---help---
This driver lets you combine several hard disk partitions into one
logical block device. This can be used to simply append one
Expand Down Expand Up @@ -191,7 +189,6 @@ config MD_FAULTY

config BLK_DEV_DM
tristate "Device mapper support"
depends on MD
---help---
Device-mapper is a low level volume manager. It works by allowing
people to specify mappings for ranges of logical sectors. Various
Expand Down Expand Up @@ -279,6 +276,4 @@ config DM_DELAY

If unsure, say N.

endmenu

endif
endif # MD

0 comments on commit afd4403

Please sign in to comment.