summaryrefslogtreecommitdiffstats
path: root/drivers/block/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/Config.in')
-rw-r--r--drivers/block/Config.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/block/Config.in b/drivers/block/Config.in
index 4abd42a54..679545b7c 100644
--- a/drivers/block/Config.in
+++ b/drivers/block/Config.in
@@ -48,9 +48,12 @@ fi
bool 'Multiple devices driver support' CONFIG_BLK_DEV_MD
dep_tristate ' Linear (append) mode' CONFIG_MD_LINEAR $CONFIG_BLK_DEV_MD
-dep_tristate ' RAID-0 (striping) mode' CONFIG_MD_STRIPED $CONFIG_BLK_DEV_MD
-#dep_tristate ' RAID-1 (mirroring) mode' CONFIG_MD_MIRRORING $CONFIG_BLK_DEV_MD
-#dep_tristate ' RAID-4/RAID-5 mode' CONFIG_MD_RAID5 $CONFIG_BLK_DEV_MD
+dep_tristate ' RAID-0 (striping) mode' CONFIG_MD_RAID0 $CONFIG_BLK_DEV_MD
+bool ' DANGEROUS! RAID1/RAID5 code' CONFIG_RAID15_DANGEROUS
+if [ "$CONFIG_RAID15_DANGEROUS" = "y" ]; then
+ dep_tristate ' RAID-1 (mirroring) mode' CONFIG_MD_RAID1 $CONFIG_BLK_DEV_MD
+ dep_tristate ' RAID-4/RAID-5 mode' CONFIG_MD_RAID5 $CONFIG_BLK_DEV_MD
+fi
tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
dep_bool ' Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD $CONFIG_BLK_DEV_RAM