diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-07-17 07:06:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:15 -0400 |
commit | afd44034acdb54972923bb327bc9f984663ee78b (patch) | |
tree | 489c46c92f66c0aeccd4b4785fc94be49d485a9b /drivers | |
parent | 0c4a59fed41bdd4c30ce0999a87f30a812f29ee2 (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 <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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/Kconfig | 15 |
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 @@ | |||
2 | # Block device driver configuration | 2 | # Block device driver configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | if BLOCK | 5 | menuconfig MD |
6 | |||
7 | menu "Multi-device support (RAID and LVM)" | ||
8 | |||
9 | config MD | ||
10 | bool "Multiple devices driver support (RAID and LVM)" | 6 | bool "Multiple devices driver support (RAID and LVM)" |
7 | depends on BLOCK | ||
11 | help | 8 | help |
12 | Support multiple physical spindles through a single logical device. | 9 | Support multiple physical spindles through a single logical device. |
13 | Required for RAID and logical volume management. | 10 | Required for RAID and logical volume management. |
14 | 11 | ||
12 | if MD | ||
13 | |||
15 | config BLK_DEV_MD | 14 | config BLK_DEV_MD |
16 | tristate "RAID support" | 15 | tristate "RAID support" |
17 | depends on MD | ||
18 | ---help--- | 16 | ---help--- |
19 | This driver lets you combine several hard disk partitions into one | 17 | This driver lets you combine several hard disk partitions into one |
20 | logical block device. This can be used to simply append one | 18 | logical block device. This can be used to simply append one |
@@ -191,7 +189,6 @@ config MD_FAULTY | |||
191 | 189 | ||
192 | config BLK_DEV_DM | 190 | config BLK_DEV_DM |
193 | tristate "Device mapper support" | 191 | tristate "Device mapper support" |
194 | depends on MD | ||
195 | ---help--- | 192 | ---help--- |
196 | Device-mapper is a low level volume manager. It works by allowing | 193 | Device-mapper is a low level volume manager. It works by allowing |
197 | people to specify mappings for ranges of logical sectors. Various | 194 | people to specify mappings for ranges of logical sectors. Various |
@@ -279,6 +276,4 @@ config DM_DELAY | |||
279 | 276 | ||
280 | If unsure, say N. | 277 | If unsure, say N. |
281 | 278 | ||
282 | endmenu | 279 | endif # MD |
283 | |||
284 | endif | ||