aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-17 07:04:20 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 13:23:05 -0400
commitdf19434cc268e207d1beb4dc7be3420888faef09 (patch)
treeb2640cfe4c321ca754dd1eba3938420f194c5279 /drivers/isdn/hardware
parentcf4d5f1d50e44d36d459344da3c8f226b3933aeb (diff)
Use menuconfig objects: ISDN: CONFIG_ISDN_CAPI
Transform "depends on" into a simpler if-endif block style dependency. 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/isdn/hardware')
-rw-r--r--drivers/isdn/hardware/Kconfig1
-rw-r--r--drivers/isdn/hardware/avm/Kconfig13
-rw-r--r--drivers/isdn/hardware/eicon/Kconfig3
3 files changed, 7 insertions, 10 deletions
diff --git a/drivers/isdn/hardware/Kconfig b/drivers/isdn/hardware/Kconfig
index dfe7fec80508..30d028d24955 100644
--- a/drivers/isdn/hardware/Kconfig
+++ b/drivers/isdn/hardware/Kconfig
@@ -2,7 +2,6 @@
2# ISDN hardware drivers 2# ISDN hardware drivers
3# 3#
4comment "CAPI hardware drivers" 4comment "CAPI hardware drivers"
5 depends on ISDN_CAPI
6 5
7source "drivers/isdn/hardware/avm/Kconfig" 6source "drivers/isdn/hardware/avm/Kconfig"
8 7
diff --git a/drivers/isdn/hardware/avm/Kconfig b/drivers/isdn/hardware/avm/Kconfig
index 8ffdb4f73ee5..fe6c67ced33f 100644
--- a/drivers/isdn/hardware/avm/Kconfig
+++ b/drivers/isdn/hardware/avm/Kconfig
@@ -3,7 +3,6 @@
3# 3#
4 4
5menu "Active AVM cards" 5menu "Active AVM cards"
6 depends on ISDN_CAPI!=n
7 6
8config CAPI_AVM 7config CAPI_AVM
9 bool "Support AVM cards" 8 bool "Support AVM cards"
@@ -12,13 +11,13 @@ config CAPI_AVM
12 11
13config ISDN_DRV_AVMB1_B1ISA 12config ISDN_DRV_AVMB1_B1ISA
14 tristate "AVM B1 ISA support" 13 tristate "AVM B1 ISA support"
15 depends on CAPI_AVM && ISDN_CAPI && ISA 14 depends on CAPI_AVM && ISA
16 help 15 help
17 Enable support for the ISA version of the AVM B1 card. 16 Enable support for the ISA version of the AVM B1 card.
18 17
19config ISDN_DRV_AVMB1_B1PCI 18config ISDN_DRV_AVMB1_B1PCI
20 tristate "AVM B1 PCI support" 19 tristate "AVM B1 PCI support"
21 depends on CAPI_AVM && ISDN_CAPI && PCI 20 depends on CAPI_AVM && PCI
22 help 21 help
23 Enable support for the PCI version of the AVM B1 card. 22 Enable support for the PCI version of the AVM B1 card.
24 23
@@ -30,14 +29,14 @@ config ISDN_DRV_AVMB1_B1PCIV4
30 29
31config ISDN_DRV_AVMB1_T1ISA 30config ISDN_DRV_AVMB1_T1ISA
32 tristate "AVM T1/T1-B ISA support" 31 tristate "AVM T1/T1-B ISA support"
33 depends on CAPI_AVM && ISDN_CAPI && ISA 32 depends on CAPI_AVM && ISA
34 help 33 help
35 Enable support for the AVM T1 T1B card. 34 Enable support for the AVM T1 T1B card.
36 Note: This is a PRI card and handle 30 B-channels. 35 Note: This is a PRI card and handle 30 B-channels.
37 36
38config ISDN_DRV_AVMB1_B1PCMCIA 37config ISDN_DRV_AVMB1_B1PCMCIA
39 tristate "AVM B1/M1/M2 PCMCIA support" 38 tristate "AVM B1/M1/M2 PCMCIA support"
40 depends on CAPI_AVM && ISDN_CAPI 39 depends on CAPI_AVM
41 help 40 help
42 Enable support for the PCMCIA version of the AVM B1 card. 41 Enable support for the PCMCIA version of the AVM B1 card.
43 42
@@ -50,14 +49,14 @@ config ISDN_DRV_AVMB1_AVM_CS
50 49
51config ISDN_DRV_AVMB1_T1PCI 50config ISDN_DRV_AVMB1_T1PCI
52 tristate "AVM T1/T1-B PCI support" 51 tristate "AVM T1/T1-B PCI support"
53 depends on CAPI_AVM && ISDN_CAPI && PCI 52 depends on CAPI_AVM && PCI
54 help 53 help
55 Enable support for the AVM T1 T1B card. 54 Enable support for the AVM T1 T1B card.
56 Note: This is a PRI card and handle 30 B-channels. 55 Note: This is a PRI card and handle 30 B-channels.
57 56
58config ISDN_DRV_AVMB1_C4 57config ISDN_DRV_AVMB1_C4
59 tristate "AVM C4/C2 support" 58 tristate "AVM C4/C2 support"
60 depends on CAPI_AVM && ISDN_CAPI && PCI 59 depends on CAPI_AVM && PCI
61 help 60 help
62 Enable support for the AVM C4/C2 PCI cards. 61 Enable support for the AVM C4/C2 PCI cards.
63 These cards handle 4/2 BRI ISDN lines (8/4 channels). 62 These cards handle 4/2 BRI ISDN lines (8/4 channels).
diff --git a/drivers/isdn/hardware/eicon/Kconfig b/drivers/isdn/hardware/eicon/Kconfig
index fbfae881af6b..a319783f12d5 100644
--- a/drivers/isdn/hardware/eicon/Kconfig
+++ b/drivers/isdn/hardware/eicon/Kconfig
@@ -3,7 +3,6 @@
3# 3#
4 4
5menu "Active Eicon DIVA Server cards" 5menu "Active Eicon DIVA Server cards"
6 depends on ISDN_CAPI!=n
7 6
8config CAPI_EICON 7config CAPI_EICON
9 bool "Support Eicon cards" 8 bool "Support Eicon cards"
@@ -32,7 +31,7 @@ config ISDN_DIVAS_PRIPCI
32 31
33config ISDN_DIVAS_DIVACAPI 32config ISDN_DIVAS_DIVACAPI
34 tristate "DIVA CAPI2.0 interface support" 33 tristate "DIVA CAPI2.0 interface support"
35 depends on ISDN_DIVAS && ISDN_CAPI 34 depends on ISDN_DIVAS
36 help 35 help
37 You need this to provide the CAPI interface 36 You need this to provide the CAPI interface
38 for DIVA Server cards. 37 for DIVA Server cards.