Browse Source

Use menuconfig objects: I2O

Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jan Engelhardt 18 years ago
parent
commit
04e9aeecff
1 changed files with 7 additions and 14 deletions
  1. 7 14
      drivers/message/i2o/Kconfig

+ 7 - 14
drivers/message/i2o/Kconfig

@@ -1,9 +1,6 @@
 
 
-menu "I2O device support"
-	depends on PCI
-
-config I2O
-	tristate "I2O support"
+menuconfig I2O
+	tristate "I2O device support"
 	depends on PCI
 	depends on PCI
 	---help---
 	---help---
 	  The Intelligent Input/Output (I2O) architecture allows hardware
 	  The Intelligent Input/Output (I2O) architecture allows hardware
@@ -25,9 +22,10 @@ config I2O
 
 
 	  If unsure, say N.
 	  If unsure, say N.
 
 
+if I2O
+
 config I2O_LCT_NOTIFY_ON_CHANGES
 config I2O_LCT_NOTIFY_ON_CHANGES
 	bool "Enable LCT notification"
 	bool "Enable LCT notification"
-	depends on I2O
 	default y
 	default y
 	---help---
 	---help---
 	  Only say N here if you have a I2O controller from SUN. The SUN
 	  Only say N here if you have a I2O controller from SUN. The SUN
@@ -39,7 +37,6 @@ config I2O_LCT_NOTIFY_ON_CHANGES
 
 
 config I2O_EXT_ADAPTEC
 config I2O_EXT_ADAPTEC
 	bool "Enable Adaptec extensions"
 	bool "Enable Adaptec extensions"
-	depends on I2O
 	default y
 	default y
 	---help---
 	---help---
 	  Say Y for support of raidutils for Adaptec I2O controllers. You also
 	  Say Y for support of raidutils for Adaptec I2O controllers. You also
@@ -57,7 +54,6 @@ config I2O_EXT_ADAPTEC_DMA64
 
 
 config I2O_CONFIG
 config I2O_CONFIG
 	tristate "I2O Configuration support"
 	tristate "I2O Configuration support"
-	depends on I2O
 	---help---
 	---help---
 	  Say Y for support of the configuration interface for the I2O adapters.
 	  Say Y for support of the configuration interface for the I2O adapters.
 	  If you have a RAID controller from Adaptec and you want to use the
 	  If you have a RAID controller from Adaptec and you want to use the
@@ -78,7 +74,6 @@ config I2O_CONFIG_OLD_IOCTL
 
 
 config I2O_BUS
 config I2O_BUS
 	tristate "I2O Bus Adapter OSM"
 	tristate "I2O Bus Adapter OSM"
-	depends on I2O
 	---help---
 	---help---
 	  Include support for the I2O Bus Adapter OSM. The Bus Adapter OSM
 	  Include support for the I2O Bus Adapter OSM. The Bus Adapter OSM
 	  provides access to the busses on the I2O controller. The main purpose
 	  provides access to the busses on the I2O controller. The main purpose
@@ -89,7 +84,7 @@ config I2O_BUS
 
 
 config I2O_BLOCK
 config I2O_BLOCK
 	tristate "I2O Block OSM"
 	tristate "I2O Block OSM"
-	depends on I2O && BLOCK
+	depends on BLOCK
 	---help---
 	---help---
 	  Include support for the I2O Block OSM. The Block OSM presents disk
 	  Include support for the I2O Block OSM. The Block OSM presents disk
 	  and other structured block devices to the operating system. If you
 	  and other structured block devices to the operating system. If you
@@ -102,7 +97,7 @@ config I2O_BLOCK
 
 
 config I2O_SCSI
 config I2O_SCSI
 	tristate "I2O SCSI OSM"
 	tristate "I2O SCSI OSM"
-	depends on I2O && SCSI
+	depends on SCSI
 	---help---
 	---help---
 	  Allows direct SCSI access to SCSI devices on a SCSI or FibreChannel
 	  Allows direct SCSI access to SCSI devices on a SCSI or FibreChannel
 	  I2O controller. You can use both the SCSI and Block OSM together if
 	  I2O controller. You can use both the SCSI and Block OSM together if
@@ -114,7 +109,6 @@ config I2O_SCSI
 
 
 config I2O_PROC
 config I2O_PROC
 	tristate "I2O /proc support"
 	tristate "I2O /proc support"
-	depends on I2O
 	---help---
 	---help---
 	  If you say Y here and to "/proc file system support", you will be
 	  If you say Y here and to "/proc file system support", you will be
 	  able to read I2O related information from the virtual directory
 	  able to read I2O related information from the virtual directory
@@ -123,5 +117,4 @@ config I2O_PROC
 	  To compile this support as a module, choose M here: the
 	  To compile this support as a module, choose M here: the
 	  module will be called i2o_proc.
 	  module will be called i2o_proc.
 
 
-endmenu
-
+endif # I2O