path: root/drivers/md/Kconfig
diff options
authorJan Engelhardt <>2007-07-17 04:06:11 -0700
committerLinus Torvalds <>2007-07-17 10:23:15 -0700
commitafd44034acdb54972923bb327bc9f984663ee78b (patch)
tree489c46c92f66c0aeccd4b4785fc94be49d485a9b /drivers/md/Kconfig
parent0c4a59fed41bdd4c30ce0999a87f30a812f29ee2 (diff)
Use menuconfig objects II - MD
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 <> Acked-by: Neil Brown <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'drivers/md/Kconfig')
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 64bf3a81db93..531d4d17d011 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -2,19 +2,17 @@
# Block device driver configuration
-menu "Multi-device support (RAID and LVM)"
-config MD
+menuconfig MD
bool "Multiple devices driver support (RAID and LVM)"
+ depends on BLOCK
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
This driver lets you combine several hard disk partitions into one
logical block device. This can be used to simply append one
@@ -191,7 +189,6 @@ config MD_FAULTY
config BLK_DEV_DM
tristate "Device mapper support"
- depends on MD
Device-mapper is a low level volume manager. It works by allowing
people to specify mappings for ranges of logical sectors. Various
@@ -279,6 +276,4 @@ config DM_DELAY
If unsure, say N.
+endif # MD