Ver código fonte

Use menuconfig objects: ISDN: CONFIG_CAPI_EICON

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>
Jan Engelhardt 18 anos atrás
pai
commit
8cd2aba2d3
1 arquivos alterados com 10 adições e 11 exclusões
  1. 10 11
      drivers/isdn/hardware/eicon/Kconfig

+ 10 - 11
drivers/isdn/hardware/eicon/Kconfig

@@ -2,51 +2,50 @@
 # ISDN DIVAS Eicon driver
 # ISDN DIVAS Eicon driver
 #
 #
 
 
-menu "Active Eicon DIVA Server cards"
-
-config CAPI_EICON
-	bool "Support Eicon cards"
+menuconfig CAPI_EICON
+	bool "Active Eicon DIVA Server cards"
 	help
 	help
 	  Enable support for Eicon Networks active ISDN cards.
 	  Enable support for Eicon Networks active ISDN cards.
 
 
+if CAPI_EICON
+
 config ISDN_DIVAS
 config ISDN_DIVAS
 	tristate "Support Eicon DIVA Server cards"
 	tristate "Support Eicon DIVA Server cards"
-	depends on CAPI_EICON && PROC_FS && PCI
+	depends on PROC_FS && PCI
 	help
 	help
 	  Say Y here if you have an Eicon Networks DIVA Server PCI ISDN card.
 	  Say Y here if you have an Eicon Networks DIVA Server PCI ISDN card.
 	  In order to use this card, additional firmware is necessary, which
 	  In order to use this card, additional firmware is necessary, which
 	  has to be downloaded into the card using the divactrl utility.
 	  has to be downloaded into the card using the divactrl utility.
 
 
+if ISDN_DIVAS
+
 config ISDN_DIVAS_BRIPCI
 config ISDN_DIVAS_BRIPCI
 	bool "DIVA Server BRI/PCI support"
 	bool "DIVA Server BRI/PCI support"
-	depends on ISDN_DIVAS
 	help
 	help
 	  Enable support for DIVA Server BRI-PCI.
 	  Enable support for DIVA Server BRI-PCI.
 
 
 config ISDN_DIVAS_PRIPCI
 config ISDN_DIVAS_PRIPCI
 	bool "DIVA Server PRI/PCI support"
 	bool "DIVA Server PRI/PCI support"
-	depends on ISDN_DIVAS
 	help
 	help
 	  Enable support for DIVA Server PRI-PCI.
 	  Enable support for DIVA Server PRI-PCI.
 
 
 config ISDN_DIVAS_DIVACAPI
 config ISDN_DIVAS_DIVACAPI
 	tristate "DIVA CAPI2.0 interface support"
 	tristate "DIVA CAPI2.0 interface support"
-	depends on ISDN_DIVAS
 	help
 	help
 	  You need this to provide the CAPI interface
 	  You need this to provide the CAPI interface
 	  for DIVA Server cards.
 	  for DIVA Server cards.
 
 
 config ISDN_DIVAS_USERIDI
 config ISDN_DIVAS_USERIDI
 	tristate "DIVA User-IDI interface support"
 	tristate "DIVA User-IDI interface support"
-	depends on ISDN_DIVAS
 	help
 	help
 	  Enable support for user-mode IDI interface.
 	  Enable support for user-mode IDI interface.
 
 
 config ISDN_DIVAS_MAINT
 config ISDN_DIVAS_MAINT
 	tristate "DIVA Maint driver support"
 	tristate "DIVA Maint driver support"
-	depends on ISDN_DIVAS && m
+	depends on m
 	help
 	help
 	  Enable Divas Maintenance driver.
 	  Enable Divas Maintenance driver.
 
 
-endmenu
+endif # ISDN_DIVAS
 
 
+endif # CAPI_EICON