]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
IB: Use menuconfig for InfiniBand menu
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Wed, 23 May 2007 21:21:22 +0000 (14:21 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/Kconfig
drivers/infiniband/hw/amso1100/Kconfig
drivers/infiniband/hw/cxgb3/Kconfig
drivers/infiniband/hw/ehca/Kconfig
drivers/infiniband/hw/ipath/Kconfig
drivers/infiniband/hw/mlx4/Kconfig
drivers/infiniband/hw/mthca/Kconfig
drivers/infiniband/ulp/ipoib/Kconfig
drivers/infiniband/ulp/iser/Kconfig
drivers/infiniband/ulp/srp/Kconfig

index 994decc7bcf2afd9c2c129fb6556af935ad8ce73..a193dfbf99d2f38dd6c9066efb63daeaa14d3b1b 100644 (file)
@@ -1,14 +1,14 @@
-menu "InfiniBand support"
-       depends on HAS_IOMEM
-
-config INFINIBAND
-       depends on PCI || BROKEN
+menuconfig INFINIBAND
        tristate "InfiniBand support"
+       depends on PCI || BROKEN
+       depends on HAS_IOMEM
        ---help---
          Core support for InfiniBand (IB).  Make sure to also select
          any protocols you wish to use as well as drivers for your
          InfiniBand hardware.
 
+if INFINIBAND
+
 config INFINIBAND_USER_MAD
        tristate "InfiniBand userspace MAD support"
        depends on INFINIBAND
@@ -20,7 +20,6 @@ config INFINIBAND_USER_MAD
 
 config INFINIBAND_USER_ACCESS
        tristate "InfiniBand userspace access (verbs and CM)"
-       depends on INFINIBAND
        ---help---
          Userspace InfiniBand access support.  This enables the
          kernel side of userspace verbs and the userspace
@@ -37,7 +36,7 @@ config INFINIBAND_USER_MEM
 
 config INFINIBAND_ADDR_TRANS
        bool
-       depends on INFINIBAND && INET
+       depends on INET
        default y
 
 source "drivers/infiniband/hw/mthca/Kconfig"
@@ -54,4 +53,4 @@ source "drivers/infiniband/ulp/srp/Kconfig"
 
 source "drivers/infiniband/ulp/iser/Kconfig"
 
-endmenu
+endif # INFINIBAND
index 809cb14ac6deca2f6476e066e0cd290b546112bb..e6ce5f209e471ab8491a4c7ecacfa28a2532f979 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_AMSO1100
        tristate "Ammasso 1100 HCA support"
-       depends on PCI && INET && INFINIBAND
+       depends on PCI && INET
        ---help---
          This is a low-level driver for the Ammasso 1100 host
          channel adapter (HCA).
index 77977f55dca3f4b55b3268aa3cd4a37b77a33ae6..2acec3fadf6951795b4f5c4122cae67234644e84 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_CXGB3
        tristate "Chelsio RDMA Driver"
-       depends on CHELSIO_T3 && INFINIBAND && INET
+       depends on CHELSIO_T3 && INET
        select GENERIC_ALLOCATOR
        ---help---
          This is an iWARP/RDMA driver for the Chelsio T3 1GbE and
index 1a854598e0e68d01ca4a4ede2bb765cc13e2dac5..59f807d8d58e5eb043fad41b7182bca53bac8cc5 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_EHCA
        tristate "eHCA support"
-       depends on IBMEBUS && INFINIBAND
+       depends on IBMEBUS
        ---help---
        This driver supports the IBM pSeries eHCA InfiniBand adapter.
 
index 90c14543677de94c1f1a74464d4bbe27ae6ef9cf..044da5828a787537b9744cf6401a06e48c4c00d2 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_IPATH
        tristate "QLogic InfiniPath Driver"
-       depends on (PCI_MSI || HT_IRQ) && 64BIT && INFINIBAND && NET
+       depends on (PCI_MSI || HT_IRQ) && 64BIT && NET
        ---help---
        This is a driver for QLogic InfiniPath host channel adapters,
        including InfiniBand verbs support.  This driver allows these
index b8912cdb966347c4235caec5fedb6833223b7713..4175a4bd0c78841e8d9e121a53a4481069195ef6 100644 (file)
@@ -1,6 +1,5 @@
 config MLX4_INFINIBAND
        tristate "Mellanox ConnectX HCA support"
-       depends on INFINIBAND
        select MLX4_CORE
        ---help---
          This driver provides low-level InfiniBand support for
index 9aa5a4468a753c0ee241277e8d957ffb8207b8d4..03efc074967e2b5344f18acc25f23d2ecf14b2c0 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_MTHCA
        tristate "Mellanox HCA support"
-       depends on PCI && INFINIBAND
+       depends on PCI
        ---help---
          This is a low-level driver for Mellanox InfiniHost host
          channel adapters (HCAs), including the MT23108 PCI-X HCA
index af78ccc4ce7108aba6968b5438a0d8adbc7be4f2..1f76bad020f3f1799025bf7fbad08f1acc7d9489 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_IPOIB
        tristate "IP-over-InfiniBand"
-       depends on INFINIBAND && NETDEVICES && INET && (IPV6 || IPV6=n)
+       depends on NETDEVICES && INET && (IPV6 || IPV6=n)
        ---help---
          Support for the IP-over-InfiniBand protocol (IPoIB). This
          transports IP packets over InfiniBand so you can use your IB
index aecbb9083f0c06c770dfb20aba8c1068c9629e1f..fe604c8d299621b9dad04d8e4a9d85672b9ab326 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_ISER
        tristate "iSCSI Extensions for RDMA (iSER)"
-       depends on INFINIBAND && SCSI && INET
+       depends on SCSI && INET
        select SCSI_ISCSI_ATTRS
        ---help---
          Support for the iSCSI Extensions for RDMA (iSER) Protocol
index 8fe3be4e991081b291d2e724cfe473b1ee8e07ea..3432dce29520a6df599c7a9e7614027257236913 100644 (file)
@@ -1,6 +1,6 @@
 config INFINIBAND_SRP
        tristate "InfiniBand SCSI RDMA Protocol"
-       depends on INFINIBAND && SCSI
+       depends on SCSI
        ---help---
          Support for the SCSI RDMA Protocol over InfiniBand.  This
          allows you to access storage devices that speak SRP over