From df19434cc268e207d1beb4dc7be3420888faef09 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 17 Jul 2007 04:04:20 -0700 Subject: Use menuconfig objects: ISDN: CONFIG_ISDN_CAPI Transform "depends on" into a simpler if-endif block style dependency. Signed-off-by: Jan Engelhardt Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/isdn/hardware/Kconfig | 1 - drivers/isdn/hardware/avm/Kconfig | 13 ++++++------- drivers/isdn/hardware/eicon/Kconfig | 3 +-- 3 files changed, 7 insertions(+), 10 deletions(-) (limited to 'drivers/isdn/hardware') diff --git a/drivers/isdn/hardware/Kconfig b/drivers/isdn/hardware/Kconfig index dfe7fec8050..30d028d2495 100644 --- a/drivers/isdn/hardware/Kconfig +++ b/drivers/isdn/hardware/Kconfig @@ -2,7 +2,6 @@ # ISDN hardware drivers # comment "CAPI hardware drivers" - depends on ISDN_CAPI source "drivers/isdn/hardware/avm/Kconfig" diff --git a/drivers/isdn/hardware/avm/Kconfig b/drivers/isdn/hardware/avm/Kconfig index 8ffdb4f73ee..fe6c67ced33 100644 --- a/drivers/isdn/hardware/avm/Kconfig +++ b/drivers/isdn/hardware/avm/Kconfig @@ -3,7 +3,6 @@ # menu "Active AVM cards" - depends on ISDN_CAPI!=n config CAPI_AVM bool "Support AVM cards" @@ -12,13 +11,13 @@ config CAPI_AVM config ISDN_DRV_AVMB1_B1ISA tristate "AVM B1 ISA support" - depends on CAPI_AVM && ISDN_CAPI && ISA + depends on CAPI_AVM && ISA help Enable support for the ISA version of the AVM B1 card. config ISDN_DRV_AVMB1_B1PCI tristate "AVM B1 PCI support" - depends on CAPI_AVM && ISDN_CAPI && PCI + depends on CAPI_AVM && PCI help Enable support for the PCI version of the AVM B1 card. @@ -30,14 +29,14 @@ config ISDN_DRV_AVMB1_B1PCIV4 config ISDN_DRV_AVMB1_T1ISA tristate "AVM T1/T1-B ISA support" - depends on CAPI_AVM && ISDN_CAPI && ISA + depends on CAPI_AVM && ISA help Enable support for the AVM T1 T1B card. Note: This is a PRI card and handle 30 B-channels. config ISDN_DRV_AVMB1_B1PCMCIA tristate "AVM B1/M1/M2 PCMCIA support" - depends on CAPI_AVM && ISDN_CAPI + depends on CAPI_AVM help Enable support for the PCMCIA version of the AVM B1 card. @@ -50,14 +49,14 @@ config ISDN_DRV_AVMB1_AVM_CS config ISDN_DRV_AVMB1_T1PCI tristate "AVM T1/T1-B PCI support" - depends on CAPI_AVM && ISDN_CAPI && PCI + depends on CAPI_AVM && PCI help Enable support for the AVM T1 T1B card. Note: This is a PRI card and handle 30 B-channels. config ISDN_DRV_AVMB1_C4 tristate "AVM C4/C2 support" - depends on CAPI_AVM && ISDN_CAPI && PCI + depends on CAPI_AVM && PCI help Enable support for the AVM C4/C2 PCI cards. 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 fbfae881af6..a319783f12d 100644 --- a/drivers/isdn/hardware/eicon/Kconfig +++ b/drivers/isdn/hardware/eicon/Kconfig @@ -3,7 +3,6 @@ # menu "Active Eicon DIVA Server cards" - depends on ISDN_CAPI!=n config CAPI_EICON bool "Support Eicon cards" @@ -32,7 +31,7 @@ config ISDN_DIVAS_PRIPCI config ISDN_DIVAS_DIVACAPI tristate "DIVA CAPI2.0 interface support" - depends on ISDN_DIVAS && ISDN_CAPI + depends on ISDN_DIVAS help You need this to provide the CAPI interface for DIVA Server cards. -- cgit v1.2.3