diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-05-11 01:52:59 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-11 17:53:26 -0400 |
commit | e6c5fb3bd0dcf1bf3d6848fe890bf73051877a4a (patch) | |
tree | ad58f63c8c5deaa2197b283c44d7f59d64829bb3 /drivers/net/wan | |
parent | be3b6c14ab4fd5d542652180f33fee8e32182d84 (diff) |
Use menuconfig objects II - netdev/wan
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>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wan')
-rw-r--r-- | drivers/net/wan/Kconfig | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig index 8897f538a7c7..4fc8681bc110 100644 --- a/drivers/net/wan/Kconfig +++ b/drivers/net/wan/Kconfig | |||
@@ -2,10 +2,7 @@ | |||
2 | # wan devices configuration | 2 | # wan devices configuration |
3 | # | 3 | # |
4 | 4 | ||
5 | menu "Wan interfaces" | 5 | menuconfig WAN |
6 | depends on NETDEVICES | ||
7 | |||
8 | config WAN | ||
9 | bool "Wan interfaces support" | 6 | bool "Wan interfaces support" |
10 | ---help--- | 7 | ---help--- |
11 | Wide Area Networks (WANs), such as X.25, Frame Relay and leased | 8 | Wide Area Networks (WANs), such as X.25, Frame Relay and leased |
@@ -23,10 +20,12 @@ config WAN | |||
23 | 20 | ||
24 | If unsure, say N. | 21 | If unsure, say N. |
25 | 22 | ||
23 | if WAN | ||
24 | |||
26 | # There is no way to detect a comtrol sv11 - force it modular for now. | 25 | # There is no way to detect a comtrol sv11 - force it modular for now. |
27 | config HOSTESS_SV11 | 26 | config HOSTESS_SV11 |
28 | tristate "Comtrol Hostess SV-11 support" | 27 | tristate "Comtrol Hostess SV-11 support" |
29 | depends on WAN && ISA && m && ISA_DMA_API && INET | 28 | depends on ISA && m && ISA_DMA_API && INET |
30 | help | 29 | help |
31 | Driver for Comtrol Hostess SV-11 network card which | 30 | Driver for Comtrol Hostess SV-11 network card which |
32 | operates on low speed synchronous serial links at up to | 31 | operates on low speed synchronous serial links at up to |
@@ -38,7 +37,7 @@ config HOSTESS_SV11 | |||
38 | # The COSA/SRP driver has not been tested as non-modular yet. | 37 | # The COSA/SRP driver has not been tested as non-modular yet. |
39 | config COSA | 38 | config COSA |
40 | tristate "COSA/SRP sync serial boards support" | 39 | tristate "COSA/SRP sync serial boards support" |
41 | depends on WAN && ISA && m && ISA_DMA_API | 40 | depends on ISA && m && ISA_DMA_API |
42 | ---help--- | 41 | ---help--- |
43 | Driver for COSA and SRP synchronous serial boards. | 42 | Driver for COSA and SRP synchronous serial boards. |
44 | 43 | ||
@@ -62,7 +61,7 @@ config COSA | |||
62 | # | 61 | # |
63 | config LANMEDIA | 62 | config LANMEDIA |
64 | tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards" | 63 | tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards" |
65 | depends on WAN && PCI | 64 | depends on PCI |
66 | ---help--- | 65 | ---help--- |
67 | Driver for the following Lan Media family of serial boards: | 66 | Driver for the following Lan Media family of serial boards: |
68 | 67 | ||
@@ -89,7 +88,7 @@ config LANMEDIA | |||
89 | # There is no way to detect a Sealevel board. Force it modular | 88 | # There is no way to detect a Sealevel board. Force it modular |
90 | config SEALEVEL_4021 | 89 | config SEALEVEL_4021 |
91 | tristate "Sealevel Systems 4021 support" | 90 | tristate "Sealevel Systems 4021 support" |
92 | depends on WAN && ISA && m && ISA_DMA_API && INET | 91 | depends on ISA && m && ISA_DMA_API && INET |
93 | help | 92 | help |
94 | This is a driver for the Sealevel Systems ACB 56 serial I/O adapter. | 93 | This is a driver for the Sealevel Systems ACB 56 serial I/O adapter. |
95 | 94 | ||
@@ -99,7 +98,6 @@ config SEALEVEL_4021 | |||
99 | # Generic HDLC | 98 | # Generic HDLC |
100 | config HDLC | 99 | config HDLC |
101 | tristate "Generic HDLC layer" | 100 | tristate "Generic HDLC layer" |
102 | depends on WAN | ||
103 | help | 101 | help |
104 | Say Y to this option if your Linux box contains a WAN (Wide Area | 102 | Say Y to this option if your Linux box contains a WAN (Wide Area |
105 | Network) card supported by this driver and you are planning to | 103 | Network) card supported by this driver and you are planning to |
@@ -167,7 +165,7 @@ config HDLC_X25 | |||
167 | If unsure, say N. | 165 | If unsure, say N. |
168 | 166 | ||
169 | comment "X.25/LAPB support is disabled" | 167 | comment "X.25/LAPB support is disabled" |
170 | depends on WAN && HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y | 168 | depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y |
171 | 169 | ||
172 | config PCI200SYN | 170 | config PCI200SYN |
173 | tristate "Goramo PCI200SYN support" | 171 | tristate "Goramo PCI200SYN support" |
@@ -230,10 +228,10 @@ config PC300_MLPPP | |||
230 | Multilink PPP over the PC300 synchronous communication boards. | 228 | Multilink PPP over the PC300 synchronous communication boards. |
231 | 229 | ||
232 | comment "Cyclades-PC300 MLPPP support is disabled." | 230 | comment "Cyclades-PC300 MLPPP support is disabled." |
233 | depends on WAN && HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP) | 231 | depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP) |
234 | 232 | ||
235 | comment "Refer to the file README.mlppp, provided by PC300 package." | 233 | comment "Refer to the file README.mlppp, provided by PC300 package." |
236 | depends on WAN && HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP) | 234 | depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP) |
237 | 235 | ||
238 | config PC300TOO | 236 | config PC300TOO |
239 | tristate "Cyclades PC300 RSV/X21 alternative support" | 237 | tristate "Cyclades PC300 RSV/X21 alternative support" |
@@ -338,7 +336,6 @@ config DSCC4_PCI_RST | |||
338 | 336 | ||
339 | config DLCI | 337 | config DLCI |
340 | tristate "Frame Relay DLCI support" | 338 | tristate "Frame Relay DLCI support" |
341 | depends on WAN | ||
342 | ---help--- | 339 | ---help--- |
343 | Support for the Frame Relay protocol. | 340 | Support for the Frame Relay protocol. |
344 | 341 | ||
@@ -385,7 +382,7 @@ config SDLA | |||
385 | # Wan router core. | 382 | # Wan router core. |
386 | config WAN_ROUTER_DRIVERS | 383 | config WAN_ROUTER_DRIVERS |
387 | tristate "WAN router drivers" | 384 | tristate "WAN router drivers" |
388 | depends on WAN && WAN_ROUTER | 385 | depends on WAN_ROUTER |
389 | ---help--- | 386 | ---help--- |
390 | Connect LAN to WAN via Linux box. | 387 | Connect LAN to WAN via Linux box. |
391 | 388 | ||
@@ -440,7 +437,7 @@ config CYCLOMX_X25 | |||
440 | # X.25 network drivers | 437 | # X.25 network drivers |
441 | config LAPBETHER | 438 | config LAPBETHER |
442 | tristate "LAPB over Ethernet driver (EXPERIMENTAL)" | 439 | tristate "LAPB over Ethernet driver (EXPERIMENTAL)" |
443 | depends on WAN && LAPB && X25 | 440 | depends on LAPB && X25 |
444 | ---help--- | 441 | ---help--- |
445 | Driver for a pseudo device (typically called /dev/lapb0) which allows | 442 | Driver for a pseudo device (typically called /dev/lapb0) which allows |
446 | you to open an LAPB point-to-point connection to some other computer | 443 | you to open an LAPB point-to-point connection to some other computer |
@@ -456,7 +453,7 @@ config LAPBETHER | |||
456 | 453 | ||
457 | config X25_ASY | 454 | config X25_ASY |
458 | tristate "X.25 async driver (EXPERIMENTAL)" | 455 | tristate "X.25 async driver (EXPERIMENTAL)" |
459 | depends on WAN && LAPB && X25 | 456 | depends on LAPB && X25 |
460 | ---help--- | 457 | ---help--- |
461 | Send and receive X.25 frames over regular asynchronous serial | 458 | Send and receive X.25 frames over regular asynchronous serial |
462 | lines such as telephone lines equipped with ordinary modems. | 459 | lines such as telephone lines equipped with ordinary modems. |
@@ -471,7 +468,7 @@ config X25_ASY | |||
471 | 468 | ||
472 | config SBNI | 469 | config SBNI |
473 | tristate "Granch SBNI12 Leased Line adapter support" | 470 | tristate "Granch SBNI12 Leased Line adapter support" |
474 | depends on WAN && X86 | 471 | depends on X86 |
475 | ---help--- | 472 | ---help--- |
476 | Driver for ISA SBNI12-xx cards which are low cost alternatives to | 473 | Driver for ISA SBNI12-xx cards which are low cost alternatives to |
477 | leased line modems. | 474 | leased line modems. |
@@ -497,5 +494,4 @@ config SBNI_MULTILINE | |||
497 | 494 | ||
498 | If unsure, say N. | 495 | If unsure, say N. |
499 | 496 | ||
500 | endmenu | 497 | endif # WAN |
501 | |||