[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0704301337570.29151@yvahk01.tjqt.qr>
Date: Mon, 30 Apr 2007 13:38:49 +0200 (MEST)
From: Jan Engelhardt <jengelh@...ux01.gwdg.de>
To: Neil Brown <neilb@...e.de>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-raid@...r.kernel.org
Subject: [PATCH 16/36] 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 <jengelh@....de>
---
drivers/md/Kconfig | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
--- linux-2.6.21-mm_20070428.orig/drivers/md/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/md/Kconfig
@@ -2,20 +2,18 @@
# 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
select ASYNC_TX_DMA
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
@@ -190,7 +188,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
@@ -272,6 +269,4 @@ config DM_DELAY
If unsure, say N.
-endmenu
-
-endif
+endif # MD
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists