bnx2x: Register dump
[safe/jmp/linux-2.6] / drivers / net / wan / Kconfig
index b5328b0..d08ce6a 100644 (file)
@@ -2,10 +2,7 @@
 # wan devices configuration
 #
 
-menu "Wan interfaces"
-       depends on NETDEVICES
-
-config WAN
+menuconfig WAN
        bool "Wan interfaces support"
        ---help---
          Wide Area Networks (WANs), such as X.25, Frame Relay and leased
@@ -23,10 +20,12 @@ config WAN
 
          If unsure, say N.
 
+if WAN
+
 # There is no way to detect a comtrol sv11 - force it modular for now.
 config HOSTESS_SV11
        tristate "Comtrol Hostess SV-11 support"
-       depends on WAN && ISA && m && ISA_DMA_API
+       depends on ISA && m && ISA_DMA_API && INET && HDLC
        help
          Driver for Comtrol Hostess SV-11 network card which
          operates on low speed synchronous serial links at up to
@@ -38,7 +37,7 @@ config HOSTESS_SV11
 # The COSA/SRP driver has not been tested as non-modular yet.
 config COSA
        tristate "COSA/SRP sync serial boards support"
-       depends on WAN && ISA && m && ISA_DMA_API
+       depends on ISA && m && ISA_DMA_API && HDLC
        ---help---
          Driver for COSA and SRP synchronous serial boards.
 
@@ -57,50 +56,12 @@ config COSA
          The driver will be compiled as a module: the
          module will be called cosa.
 
-config DSCC4
-       tristate "Etinc PCISYNC serial board support"
-       depends on WAN && PCI && m
-       help
-         Driver for Etinc PCISYNC boards based on the Infineon (ex. Siemens)
-         DSCC4 chipset.
-
-         This is supposed to work with the four port card. Take a look at
-         <http://www.cogenit.fr/dscc4/> for further information about the
-         driver.
-
-         To compile this driver as a module, choose M here: the
-         module will be called dscc4.
-
-config DSCC4_PCISYNC
-       bool "Etinc PCISYNC features"
-       depends on DSCC4
-       help
-         Due to Etinc's design choice for its PCISYNC cards, some operations
-         are only allowed on specific ports of the DSCC4. This option is the
-         only way for the driver to know that it shouldn't return a success
-         code for these operations.
-
-         Please say Y if your card is an Etinc's PCISYNC.
-
-config DSCC4_PCI_RST
-       bool "Hard reset support"
-       depends on DSCC4
-       help
-         Various DSCC4 bugs forbid any reliable software reset of the ASIC.
-         As a replacement, some vendors provide a way to assert the PCI #RST
-         pin of DSCC4 through the GPIO port of the card. If you choose Y,
-         the driver will make use of this feature before module removal
-         (i.e. rmmod). The feature is known to be available on Commtech's
-         cards. Contact your manufacturer for details.
-
-         Say Y if your card supports this feature.
-
 #
 # Lan Media's board. Currently 1000, 1200, 5200, 5245
 #
 config LANMEDIA
        tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards"
-       depends on WAN && PCI
+       depends on PCI && VIRT_TO_BUS && HDLC
        ---help---
          Driver for the following Lan Media family of serial boards:
 
@@ -117,9 +78,8 @@ config LANMEDIA
          - LMC 5245 board connects directly to a T3 circuit saving the
          additional external hardware.
 
-         To change setting such as syncPPP vs Cisco HDLC or clock source you
-         will need lmcctl.  It is available at <ftp://ftp.lanmedia.com/>
-         (broken link).
+         To change setting such as clock source you will need lmcctl.
+         It is available at <ftp://ftp.lanmedia.com/> (broken link).
 
          To compile this driver as a module, choose M here: the
          module will be called lmc.
@@ -127,29 +87,16 @@ config LANMEDIA
 # There is no way to detect a Sealevel board. Force it modular
 config SEALEVEL_4021
        tristate "Sealevel Systems 4021 support"
-       depends on WAN && ISA && m && ISA_DMA_API
+       depends on ISA && m && ISA_DMA_API && INET && HDLC
        help
          This is a driver for the Sealevel Systems ACB 56 serial I/O adapter.
 
          The driver will be compiled as a module: the
          module will be called sealevel.
 
-config SYNCLINK_SYNCPPP
-       tristate "SyncLink HDLC/SYNCPPP support"
-       depends on WAN
-       help
-         Enables HDLC/SYNCPPP support for the SyncLink WAN driver.
-
-         Normally the SyncLink WAN driver works with the main PPP driver
-         <file:drivers/net/ppp_generic.c> and pppd program.
-         HDLC/SYNCPPP support allows use of the Cisco HDLC/PPP driver
-         <file:drivers/net/wan/syncppp.c>. The SyncLink WAN driver (in
-         character devices) must also be enabled.
-
 # Generic HDLC
 config HDLC
        tristate "Generic HDLC layer"
-       depends on WAN
        help
          Say Y to this option if your Linux box contains a WAN (Wide Area
          Network) card supported by this driver and you are planning to
@@ -166,7 +113,7 @@ config HDLC
          If unsure, say N.
 
 config HDLC_RAW
-       bool "Raw HDLC support"
+       tristate "Raw HDLC support"
        depends on HDLC
        help
          Generic HDLC driver supporting raw HDLC over WAN connections.
@@ -174,7 +121,7 @@ config HDLC_RAW
          If unsure, say N.
 
 config HDLC_RAW_ETH
-       bool "Raw HDLC Ethernet device support"
+       tristate "Raw HDLC Ethernet device support"
        depends on HDLC
        help
          Generic HDLC driver supporting raw HDLC Ethernet device emulation
@@ -185,7 +132,7 @@ config HDLC_RAW_ETH
          If unsure, say N.
 
 config HDLC_CISCO
-       bool "Cisco HDLC support"
+       tristate "Cisco HDLC support"
        depends on HDLC
        help
          Generic HDLC driver supporting Cisco HDLC over WAN connections.
@@ -193,7 +140,7 @@ config HDLC_CISCO
          If unsure, say N.
 
 config HDLC_FR
-       bool "Frame Relay support"
+       tristate "Frame Relay support"
        depends on HDLC
        help
          Generic HDLC driver supporting Frame Relay over WAN connections.
@@ -201,7 +148,7 @@ config HDLC_FR
          If unsure, say N.
 
 config HDLC_PPP
-       bool "Synchronous Point-to-Point Protocol (PPP) support"
+       tristate "Synchronous Point-to-Point Protocol (PPP) support"
        depends on HDLC
        help
          Generic HDLC driver supporting PPP over WAN connections.
@@ -209,7 +156,7 @@ config HDLC_PPP
          If unsure, say N.
 
 config HDLC_X25
-       bool "X.25 protocol support"
+       tristate "X.25 protocol support"
        depends on HDLC && (LAPB=m && HDLC=m || LAPB=y)
        help
          Generic HDLC driver supporting X.25 over WAN connections.
@@ -217,7 +164,7 @@ config HDLC_X25
          If unsure, say N.
 
 comment "X.25/LAPB support is disabled"
-       depends on WAN && HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y
+       depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y
 
 config PCI200SYN
        tristate "Goramo PCI200SYN support"
@@ -258,8 +205,10 @@ config WANXL_BUILD_FIRMWARE
 
 config PC300
        tristate "Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)"
-       depends on HDLC && PCI
+       depends on HDLC && PCI && BROKEN
        ---help---
+         This driver is broken because of struct tty_driver change.
+
          Driver for the Cyclades-PC300 synchronous communication boards.
 
          These boards provide synchronous serial interfaces to your
@@ -280,10 +229,23 @@ config PC300_MLPPP
          Multilink PPP over the PC300 synchronous communication boards.
 
 comment "Cyclades-PC300 MLPPP support is disabled."
-       depends on WAN && HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
+       depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
 
 comment "Refer to the file README.mlppp, provided by PC300 package."
-       depends on WAN && HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
+       depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
+
+config PC300TOO
+       tristate "Cyclades PC300 RSV/X21 alternative support"
+       depends on HDLC && PCI
+       help
+         Alternative driver for PC300 RSV/X21 PCI cards made by
+         Cyclades, Inc. If you have such a card, say Y here and see
+         <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
+
+         To compile this as a module, choose M here: the module
+         will be called pc300too.
+
+         If unsure, say N here.
 
 config N2
        tristate "SDL RISCom/N2 support"
@@ -335,9 +297,53 @@ config FARSYNC
          To compile this driver as a module, choose M here: the
          module will be called farsync.
 
+config DSCC4
+       tristate "Etinc PCISYNC serial board support"
+       depends on HDLC && PCI && m
+       help
+         Driver for Etinc PCISYNC boards based on the Infineon (ex. Siemens)
+         DSCC4 chipset.
+
+         This is supposed to work with the four port card. Take a look at
+         <http://www.cogenit.fr/dscc4/> for further information about the
+         driver.
+
+         To compile this driver as a module, choose M here: the
+         module will be called dscc4.
+
+config DSCC4_PCISYNC
+       bool "Etinc PCISYNC features"
+       depends on DSCC4
+       help
+         Due to Etinc's design choice for its PCISYNC cards, some operations
+         are only allowed on specific ports of the DSCC4. This option is the
+         only way for the driver to know that it shouldn't return a success
+         code for these operations.
+
+         Please say Y if your card is an Etinc's PCISYNC.
+
+config DSCC4_PCI_RST
+       bool "Hard reset support"
+       depends on DSCC4
+       help
+         Various DSCC4 bugs forbid any reliable software reset of the ASIC.
+         As a replacement, some vendors provide a way to assert the PCI #RST
+         pin of DSCC4 through the GPIO port of the card. If you choose Y,
+         the driver will make use of this feature before module removal
+         (i.e. rmmod). The feature is known to be available on Commtech's
+         cards. Contact your manufacturer for details.
+
+         Say Y if your card supports this feature.
+
+config IXP4XX_HSS
+       tristate "Intel IXP4xx HSS (synchronous serial port) support"
+       depends on HDLC && ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
+       help
+         Say Y here if you want to use built-in HSS ports
+         on IXP4xx processor.
+
 config DLCI
        tristate "Frame Relay DLCI support"
-       depends on WAN
        ---help---
          Support for the Frame Relay protocol.
 
@@ -356,17 +362,6 @@ config DLCI
          To compile this driver as a module, choose M here: the
          module will be called dlci.
 
-config DLCI_COUNT
-       int "Max open DLCI"
-       depends on DLCI
-       default "24"
-       help
-         Maximal number of logical point-to-point frame relay connections
-         (the identifiers of which are called DCLIs) that the driver can
-         handle.
-
-         The default is probably fine.
-
 config DLCI_MAX
        int "Max DLCI per device"
        depends on DLCI
@@ -394,18 +389,18 @@ config SDLA
 
 # Wan router core.
 config WAN_ROUTER_DRIVERS
-       bool "WAN router drivers"
-       depends on WAN && WAN_ROUTER
+       tristate "WAN router drivers"
+       depends on WAN_ROUTER
        ---help---
          Connect LAN to WAN via Linux box.
 
          Select driver your card and remember to say Y to "Wan Router."
          You will need the wan-tools package which is available from
-         <ftp://ftp.sangoma.com/>. For more information read:
-         <file:Documentation/networking/wan-router.txt>.
+         <ftp://ftp.sangoma.com/>.
 
          Note that the answer to this question won't directly affect the
-         kernel: saying N will just cause the configurator to skip all
+         kernel except for how subordinate drivers may be built:
+         saying N will just cause the configurator to skip all
          the questions about WAN router drivers.
 
          If unsure, say N.
@@ -449,7 +444,7 @@ config CYCLOMX_X25
 # X.25 network drivers
 config LAPBETHER
        tristate "LAPB over Ethernet driver (EXPERIMENTAL)"
-       depends on WAN && LAPB && X25
+       depends on LAPB && X25
        ---help---
          Driver for a pseudo device (typically called /dev/lapb0) which allows
          you to open an LAPB point-to-point connection to some other computer
@@ -465,7 +460,7 @@ config LAPBETHER
 
 config X25_ASY
        tristate "X.25 async driver (EXPERIMENTAL)"
-       depends on WAN && LAPB && X25
+       depends on LAPB && X25
        ---help---
          Send and receive X.25 frames over regular asynchronous serial
          lines such as telephone lines equipped with ordinary modems.
@@ -480,7 +475,7 @@ config X25_ASY
 
 config SBNI
        tristate "Granch SBNI12 Leased Line adapter support"
-       depends on WAN && X86
+       depends on X86
        ---help---
          Driver for ISA SBNI12-xx cards which are low cost alternatives to
          leased line modems.
@@ -506,5 +501,4 @@ config SBNI_MULTILINE
 
          If unsure, say N.
 
-endmenu
-
+endif # WAN