diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-05-23 17:21:22 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-09 23:12:26 -0400 |
commit | 06cc85086e6896939f8c68f8518224748f6b0b2f (patch) | |
tree | 7c568a68748814a7baa85d0d8d86edd66f16fd97 /drivers/infiniband/Kconfig | |
parent | 6abb6ea80b6564c00906aa0727cf59d2be780d82 (diff) |
IB: Use menuconfig for InfiniBand menu
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>
Diffstat (limited to 'drivers/infiniband/Kconfig')
-rw-r--r-- | drivers/infiniband/Kconfig | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 994decc7bcf2..a193dfbf99d2 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig | |||
@@ -1,14 +1,14 @@ | |||
1 | menu "InfiniBand support" | 1 | menuconfig INFINIBAND |
2 | depends on HAS_IOMEM | ||
3 | |||
4 | config INFINIBAND | ||
5 | depends on PCI || BROKEN | ||
6 | tristate "InfiniBand support" | 2 | tristate "InfiniBand support" |
3 | depends on PCI || BROKEN | ||
4 | depends on HAS_IOMEM | ||
7 | ---help--- | 5 | ---help--- |
8 | Core support for InfiniBand (IB). Make sure to also select | 6 | Core support for InfiniBand (IB). Make sure to also select |
9 | any protocols you wish to use as well as drivers for your | 7 | any protocols you wish to use as well as drivers for your |
10 | InfiniBand hardware. | 8 | InfiniBand hardware. |
11 | 9 | ||
10 | if INFINIBAND | ||
11 | |||
12 | config INFINIBAND_USER_MAD | 12 | config INFINIBAND_USER_MAD |
13 | tristate "InfiniBand userspace MAD support" | 13 | tristate "InfiniBand userspace MAD support" |
14 | depends on INFINIBAND | 14 | depends on INFINIBAND |
@@ -20,7 +20,6 @@ config INFINIBAND_USER_MAD | |||
20 | 20 | ||
21 | config INFINIBAND_USER_ACCESS | 21 | config INFINIBAND_USER_ACCESS |
22 | tristate "InfiniBand userspace access (verbs and CM)" | 22 | tristate "InfiniBand userspace access (verbs and CM)" |
23 | depends on INFINIBAND | ||
24 | ---help--- | 23 | ---help--- |
25 | Userspace InfiniBand access support. This enables the | 24 | Userspace InfiniBand access support. This enables the |
26 | kernel side of userspace verbs and the userspace | 25 | kernel side of userspace verbs and the userspace |
@@ -37,7 +36,7 @@ config INFINIBAND_USER_MEM | |||
37 | 36 | ||
38 | config INFINIBAND_ADDR_TRANS | 37 | config INFINIBAND_ADDR_TRANS |
39 | bool | 38 | bool |
40 | depends on INFINIBAND && INET | 39 | depends on INET |
41 | default y | 40 | default y |
42 | 41 | ||
43 | source "drivers/infiniband/hw/mthca/Kconfig" | 42 | source "drivers/infiniband/hw/mthca/Kconfig" |
@@ -54,4 +53,4 @@ source "drivers/infiniband/ulp/srp/Kconfig" | |||
54 | 53 | ||
55 | source "drivers/infiniband/ulp/iser/Kconfig" | 54 | source "drivers/infiniband/ulp/iser/Kconfig" |
56 | 55 | ||
57 | endmenu | 56 | endif # INFINIBAND |