diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-07-17 07:04:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:05 -0400 |
commit | cf4d5f1d50e44d36d459344da3c8f226b3933aeb (patch) | |
tree | 0d9c90ed386bb525d1fe7f1a6e2bb3532d4a087f /drivers | |
parent | c713f57ed5eb2e073de9d60ee1da25939966647e (diff) |
Use menuconfig objects: ISDN: CONFIG_ISDN
Transform 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>
Cc: Karsten Keil <kkeil@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/isdn/Kconfig | 13 | ||||
-rw-r--r-- | drivers/isdn/hardware/Kconfig | 2 | ||||
-rw-r--r-- | drivers/isdn/hardware/avm/Kconfig | 2 | ||||
-rw-r--r-- | drivers/isdn/hardware/eicon/Kconfig | 2 | ||||
-rw-r--r-- | drivers/isdn/i4l/Kconfig | 7 |
5 files changed, 10 insertions, 16 deletions
diff --git a/drivers/isdn/Kconfig b/drivers/isdn/Kconfig index 3e088c42b222..a3c9a0343129 100644 --- a/drivers/isdn/Kconfig +++ b/drivers/isdn/Kconfig | |||
@@ -2,12 +2,10 @@ | |||
2 | # ISDN device configuration | 2 | # ISDN device configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "ISDN subsystem" | 5 | menuconfig ISDN |
6 | depends on !S390 | ||
7 | |||
8 | config ISDN | ||
9 | tristate "ISDN support" | 6 | tristate "ISDN support" |
10 | depends on NET | 7 | depends on NET |
8 | depends on !S390 | ||
11 | ---help--- | 9 | ---help--- |
12 | ISDN ("Integrated Services Digital Networks", called RNIS in France) | 10 | ISDN ("Integrated Services Digital Networks", called RNIS in France) |
13 | is a special type of fully digital telephone service; it's mostly | 11 | is a special type of fully digital telephone service; it's mostly |
@@ -21,9 +19,9 @@ config ISDN | |||
21 | 19 | ||
22 | Select this option if you want your kernel to support ISDN. | 20 | Select this option if you want your kernel to support ISDN. |
23 | 21 | ||
22 | if ISDN | ||
24 | 23 | ||
25 | menu "Old ISDN4Linux" | 24 | menu "Old ISDN4Linux" |
26 | depends on NET && ISDN | ||
27 | 25 | ||
28 | config ISDN_I4L | 26 | config ISDN_I4L |
29 | tristate "Old ISDN4Linux (deprecated)" | 27 | tristate "Old ISDN4Linux (deprecated)" |
@@ -50,11 +48,9 @@ endif | |||
50 | endmenu | 48 | endmenu |
51 | 49 | ||
52 | comment "CAPI subsystem" | 50 | comment "CAPI subsystem" |
53 | depends on NET && ISDN | ||
54 | 51 | ||
55 | config ISDN_CAPI | 52 | config ISDN_CAPI |
56 | tristate "CAPI2.0 support" | 53 | tristate "CAPI2.0 support" |
57 | depends on ISDN | ||
58 | help | 54 | help |
59 | This provides the CAPI (Common ISDN Application Programming | 55 | This provides the CAPI (Common ISDN Application Programming |
60 | Interface, a standard making it easy for programs to access ISDN | 56 | Interface, a standard making it easy for programs to access ISDN |
@@ -65,5 +61,4 @@ source "drivers/isdn/capi/Kconfig" | |||
65 | 61 | ||
66 | source "drivers/isdn/hardware/Kconfig" | 62 | source "drivers/isdn/hardware/Kconfig" |
67 | 63 | ||
68 | endmenu | 64 | endif # ISDN |
69 | |||
diff --git a/drivers/isdn/hardware/Kconfig b/drivers/isdn/hardware/Kconfig index 139f19797713..dfe7fec80508 100644 --- a/drivers/isdn/hardware/Kconfig +++ b/drivers/isdn/hardware/Kconfig | |||
@@ -2,7 +2,7 @@ | |||
2 | # ISDN hardware drivers | 2 | # ISDN hardware drivers |
3 | # | 3 | # |
4 | comment "CAPI hardware drivers" | 4 | comment "CAPI hardware drivers" |
5 | depends on NET && ISDN && ISDN_CAPI | 5 | depends on ISDN_CAPI |
6 | 6 | ||
7 | source "drivers/isdn/hardware/avm/Kconfig" | 7 | source "drivers/isdn/hardware/avm/Kconfig" |
8 | 8 | ||
diff --git a/drivers/isdn/hardware/avm/Kconfig b/drivers/isdn/hardware/avm/Kconfig index 29a32a8830c0..8ffdb4f73ee5 100644 --- a/drivers/isdn/hardware/avm/Kconfig +++ b/drivers/isdn/hardware/avm/Kconfig | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | menu "Active AVM cards" | 5 | menu "Active AVM cards" |
6 | depends on NET && ISDN && ISDN_CAPI!=n | 6 | depends on ISDN_CAPI!=n |
7 | 7 | ||
8 | config CAPI_AVM | 8 | config CAPI_AVM |
9 | bool "Support AVM cards" | 9 | bool "Support AVM cards" |
diff --git a/drivers/isdn/hardware/eicon/Kconfig b/drivers/isdn/hardware/eicon/Kconfig index 01d4afd9d843..fbfae881af6b 100644 --- a/drivers/isdn/hardware/eicon/Kconfig +++ b/drivers/isdn/hardware/eicon/Kconfig | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | menu "Active Eicon DIVA Server cards" | 5 | menu "Active Eicon DIVA Server cards" |
6 | depends on NET && ISDN && ISDN_CAPI!=n | 6 | depends on ISDN_CAPI!=n |
7 | 7 | ||
8 | config CAPI_EICON | 8 | config CAPI_EICON |
9 | bool "Support Eicon cards" | 9 | bool "Support Eicon cards" |
diff --git a/drivers/isdn/i4l/Kconfig b/drivers/isdn/i4l/Kconfig index 3ef567b99c74..e91c187992dd 100644 --- a/drivers/isdn/i4l/Kconfig +++ b/drivers/isdn/i4l/Kconfig | |||
@@ -86,7 +86,6 @@ config ISDN_X25 | |||
86 | 86 | ||
87 | 87 | ||
88 | menu "ISDN feature submodules" | 88 | menu "ISDN feature submodules" |
89 | depends on ISDN | ||
90 | 89 | ||
91 | config ISDN_DRV_LOOP | 90 | config ISDN_DRV_LOOP |
92 | tristate "isdnloop support" | 91 | tristate "isdnloop support" |
@@ -100,7 +99,7 @@ config ISDN_DRV_LOOP | |||
100 | 99 | ||
101 | config ISDN_DIVERSION | 100 | config ISDN_DIVERSION |
102 | tristate "Support isdn diversion services" | 101 | tristate "Support isdn diversion services" |
103 | depends on ISDN && ISDN_I4L | 102 | depends on ISDN_I4L |
104 | help | 103 | help |
105 | This option allows you to use some supplementary diversion | 104 | This option allows you to use some supplementary diversion |
106 | services in conjunction with the HiSax driver on an EURO/DSS1 | 105 | services in conjunction with the HiSax driver on an EURO/DSS1 |
@@ -120,13 +119,13 @@ config ISDN_DIVERSION | |||
120 | endmenu | 119 | endmenu |
121 | 120 | ||
122 | comment "ISDN4Linux hardware drivers" | 121 | comment "ISDN4Linux hardware drivers" |
123 | depends on NET && ISDN && ISDN_I4L | 122 | depends on ISDN_I4L |
124 | 123 | ||
125 | source "drivers/isdn/hisax/Kconfig" | 124 | source "drivers/isdn/hisax/Kconfig" |
126 | 125 | ||
127 | 126 | ||
128 | menu "Active cards" | 127 | menu "Active cards" |
129 | depends on NET && ISDN && ISDN_I4L!=n | 128 | depends on ISDN_I4L!=n |
130 | 129 | ||
131 | source "drivers/isdn/icn/Kconfig" | 130 | source "drivers/isdn/icn/Kconfig" |
132 | 131 | ||