1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# wan devices configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 6e6c5fb3bSJan Engelhardtmenuconfig WAN 71da177e4SLinus Torvalds bool "Wan interfaces support" 8a7f7f624SMasahiro Yamada help 91da177e4SLinus Torvalds Wide Area Networks (WANs), such as X.25, Frame Relay and leased 101da177e4SLinus Torvalds lines, are used to interconnect Local Area Networks (LANs) over vast 111da177e4SLinus Torvalds distances with data transfer rates significantly higher than those 121da177e4SLinus Torvalds achievable with commonly used asynchronous modem connections. 131da177e4SLinus Torvalds 141da177e4SLinus Torvalds Usually, a quite expensive external device called a `WAN router' is 151da177e4SLinus Torvalds needed to connect to a WAN. As an alternative, a relatively 161da177e4SLinus Torvalds inexpensive WAN interface card can allow your Linux box to directly 171da177e4SLinus Torvalds connect to a WAN. 181da177e4SLinus Torvalds 191da177e4SLinus Torvalds If you have one of those cards and wish to use it under Linux, 201da177e4SLinus Torvalds say Y here and also to the WAN driver for your card. 211da177e4SLinus Torvalds 221da177e4SLinus Torvalds If unsure, say N. 231da177e4SLinus Torvalds 24e6c5fb3bSJan Engelhardtif WAN 25e6c5fb3bSJan Engelhardt 261da177e4SLinus Torvalds# Generic HDLC 271da177e4SLinus Torvaldsconfig HDLC 281da177e4SLinus Torvalds tristate "Generic HDLC layer" 291da177e4SLinus Torvalds help 301da177e4SLinus Torvalds Say Y to this option if your Linux box contains a WAN (Wide Area 311da177e4SLinus Torvalds Network) card supported by this driver and you are planning to 321da177e4SLinus Torvalds connect the box to a WAN. 331da177e4SLinus Torvalds 341da177e4SLinus Torvalds You will need supporting software from 351da177e4SLinus Torvalds <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 361da177e4SLinus Torvalds Generic HDLC driver currently supports raw HDLC, Cisco HDLC, Frame 371da177e4SLinus Torvalds Relay, synchronous Point-to-Point Protocol (PPP) and X.25. 381da177e4SLinus Torvalds 391da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 401da177e4SLinus Torvalds module will be called hdlc. 411da177e4SLinus Torvalds 421da177e4SLinus Torvalds If unsure, say N. 431da177e4SLinus Torvalds 441da177e4SLinus Torvaldsconfig HDLC_RAW 45eb2a2fd9SKrzysztof Halasa tristate "Raw HDLC support" 461da177e4SLinus Torvalds depends on HDLC 471da177e4SLinus Torvalds help 481da177e4SLinus Torvalds Generic HDLC driver supporting raw HDLC over WAN connections. 491da177e4SLinus Torvalds 501da177e4SLinus Torvalds If unsure, say N. 511da177e4SLinus Torvalds 521da177e4SLinus Torvaldsconfig HDLC_RAW_ETH 53eb2a2fd9SKrzysztof Halasa tristate "Raw HDLC Ethernet device support" 541da177e4SLinus Torvalds depends on HDLC 551da177e4SLinus Torvalds help 561da177e4SLinus Torvalds Generic HDLC driver supporting raw HDLC Ethernet device emulation 571da177e4SLinus Torvalds over WAN connections. 581da177e4SLinus Torvalds 591da177e4SLinus Torvalds You will need it for Ethernet over HDLC bridges. 601da177e4SLinus Torvalds 611da177e4SLinus Torvalds If unsure, say N. 621da177e4SLinus Torvalds 631da177e4SLinus Torvaldsconfig HDLC_CISCO 64eb2a2fd9SKrzysztof Halasa tristate "Cisco HDLC support" 651da177e4SLinus Torvalds depends on HDLC 661da177e4SLinus Torvalds help 671da177e4SLinus Torvalds Generic HDLC driver supporting Cisco HDLC over WAN connections. 681da177e4SLinus Torvalds 691da177e4SLinus Torvalds If unsure, say N. 701da177e4SLinus Torvalds 711da177e4SLinus Torvaldsconfig HDLC_FR 72eb2a2fd9SKrzysztof Halasa tristate "Frame Relay support" 731da177e4SLinus Torvalds depends on HDLC 741da177e4SLinus Torvalds help 751da177e4SLinus Torvalds Generic HDLC driver supporting Frame Relay over WAN connections. 761da177e4SLinus Torvalds 771da177e4SLinus Torvalds If unsure, say N. 781da177e4SLinus Torvalds 791da177e4SLinus Torvaldsconfig HDLC_PPP 80eb2a2fd9SKrzysztof Halasa tristate "Synchronous Point-to-Point Protocol (PPP) support" 814951704bSDavid S. Miller depends on HDLC 821da177e4SLinus Torvalds help 831da177e4SLinus Torvalds Generic HDLC driver supporting PPP over WAN connections. 8416a79142SKrzysztof Halasa 851da177e4SLinus Torvalds If unsure, say N. 861da177e4SLinus Torvalds 871da177e4SLinus Torvaldsconfig HDLC_X25 88eb2a2fd9SKrzysztof Halasa tristate "X.25 protocol support" 891da177e4SLinus Torvalds depends on HDLC && (LAPB=m && HDLC=m || LAPB=y) 901da177e4SLinus Torvalds help 911da177e4SLinus Torvalds Generic HDLC driver supporting X.25 over WAN connections. 921da177e4SLinus Torvalds 931da177e4SLinus Torvalds If unsure, say N. 941da177e4SLinus Torvalds 951da177e4SLinus Torvaldscomment "X.25/LAPB support is disabled" 96e6c5fb3bSJan Engelhardt depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y 971da177e4SLinus Torvalds 9882c944d0SHerve Codinasource "drivers/net/wan/framer/Kconfig" 9982c944d0SHerve Codina 1001da177e4SLinus Torvaldsconfig PCI200SYN 1011da177e4SLinus Torvalds tristate "Goramo PCI200SYN support" 1021da177e4SLinus Torvalds depends on HDLC && PCI 1031da177e4SLinus Torvalds help 1041da177e4SLinus Torvalds Driver for PCI200SYN cards by Goramo sp. j. 1051da177e4SLinus Torvalds 1061da177e4SLinus Torvalds If you have such a card, say Y here and see 1071da177e4SLinus Torvalds <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 1081da177e4SLinus Torvalds 1091da177e4SLinus Torvalds To compile this as a module, choose M here: the 1101da177e4SLinus Torvalds module will be called pci200syn. 1111da177e4SLinus Torvalds 1121da177e4SLinus Torvalds If unsure, say N. 1131da177e4SLinus Torvalds 1141da177e4SLinus Torvaldsconfig WANXL 1151da177e4SLinus Torvalds tristate "SBE Inc. wanXL support" 1161da177e4SLinus Torvalds depends on HDLC && PCI 1171da177e4SLinus Torvalds help 1181da177e4SLinus Torvalds Driver for wanXL PCI cards by SBE Inc. 1191da177e4SLinus Torvalds 1201da177e4SLinus Torvalds If you have such a card, say Y here and see 1211da177e4SLinus Torvalds <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 1221da177e4SLinus Torvalds 1231da177e4SLinus Torvalds To compile this as a module, choose M here: the 1241da177e4SLinus Torvalds module will be called wanxl. 1251da177e4SLinus Torvalds 1261da177e4SLinus Torvalds If unsure, say N. 1271da177e4SLinus Torvalds 1281da177e4SLinus Torvaldsconfig WANXL_BUILD_FIRMWARE 1291da177e4SLinus Torvalds bool "rebuild wanXL firmware" 1301da177e4SLinus Torvalds depends on WANXL && !PREVENT_FIRMWARE_BUILD 1311da177e4SLinus Torvalds help 1321da177e4SLinus Torvalds Allows you to rebuild firmware run by the QUICC processor. 13363b903dfSMasahiro Yamada It requires m68k toolchains and hexdump programs. 1341da177e4SLinus Torvalds 1351da177e4SLinus Torvalds You should never need this option, say N. 1361da177e4SLinus Torvalds 1377517c1b7SKrzysztof Halasaconfig PC300TOO 1387517c1b7SKrzysztof Halasa tristate "Cyclades PC300 RSV/X21 alternative support" 1397517c1b7SKrzysztof Halasa depends on HDLC && PCI 1407517c1b7SKrzysztof Halasa help 1417517c1b7SKrzysztof Halasa Alternative driver for PC300 RSV/X21 PCI cards made by 1427517c1b7SKrzysztof Halasa Cyclades, Inc. If you have such a card, say Y here and see 1437517c1b7SKrzysztof Halasa <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 1447517c1b7SKrzysztof Halasa 1457517c1b7SKrzysztof Halasa To compile this as a module, choose M here: the module 1467517c1b7SKrzysztof Halasa will be called pc300too. 1477517c1b7SKrzysztof Halasa 1487517c1b7SKrzysztof Halasa If unsure, say N here. 1497517c1b7SKrzysztof Halasa 1501da177e4SLinus Torvaldsconfig N2 1511da177e4SLinus Torvalds tristate "SDL RISCom/N2 support" 1521da177e4SLinus Torvalds depends on HDLC && ISA 1531da177e4SLinus Torvalds help 1541da177e4SLinus Torvalds Driver for RISCom/N2 single or dual channel ISA cards by 1551da177e4SLinus Torvalds SDL Communications Inc. 1561da177e4SLinus Torvalds 1571da177e4SLinus Torvalds If you have such a card, say Y here and see 1581da177e4SLinus Torvalds <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 1591da177e4SLinus Torvalds 1601da177e4SLinus Torvalds Note that N2csu and N2dds cards are not supported by this driver. 1611da177e4SLinus Torvalds 1621da177e4SLinus Torvalds To compile this driver as a module, choose M here: the module 1631da177e4SLinus Torvalds will be called n2. 1641da177e4SLinus Torvalds 1651da177e4SLinus Torvalds If unsure, say N. 1661da177e4SLinus Torvalds 1671da177e4SLinus Torvaldsconfig C101 1681da177e4SLinus Torvalds tristate "Moxa C101 support" 1691da177e4SLinus Torvalds depends on HDLC && ISA 1701da177e4SLinus Torvalds help 1711da177e4SLinus Torvalds Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd. 1721da177e4SLinus Torvalds 1731da177e4SLinus Torvalds If you have such a card, say Y here and see 1741da177e4SLinus Torvalds <http://www.kernel.org/pub/linux/utils/net/hdlc/>. 1751da177e4SLinus Torvalds 1761da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1771da177e4SLinus Torvalds module will be called c101. 1781da177e4SLinus Torvalds 1791da177e4SLinus Torvalds If unsure, say N. 1801da177e4SLinus Torvalds 1811da177e4SLinus Torvaldsconfig FARSYNC 1821da177e4SLinus Torvalds tristate "FarSync T-Series support" 183*a29689e6SNiklas Schnelle depends on HDLC && PCI && HAS_IOPORT 184a7f7f624SMasahiro Yamada help 1851da177e4SLinus Torvalds Support for the FarSync T-Series X.21 (and V.35/V.24) cards by 1861da177e4SLinus Torvalds FarSite Communications Ltd. 1871da177e4SLinus Torvalds 1881da177e4SLinus Torvalds Synchronous communication is supported on all ports at speeds up to 1891da177e4SLinus Torvalds 8Mb/s (128K on V.24) using synchronous PPP, Cisco HDLC, raw HDLC, 1901da177e4SLinus Torvalds Frame Relay or X.25/LAPB. 1911da177e4SLinus Torvalds 1921da177e4SLinus Torvalds If you want the module to be automatically loaded when the interface 193970e2486SLucas De Marchi is referenced then you should add "alias hdlcX farsync" to a file 194970e2486SLucas De Marchi in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or 1951da177e4SLinus Torvalds simply use "alias hdlc* farsync" to indicate all of them. 1961da177e4SLinus Torvalds 1971da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1981da177e4SLinus Torvalds module will be called farsync. 1991da177e4SLinus Torvalds 200d0f2258eSHerve Codinaconfig FSL_QMC_HDLC 201d0f2258eSHerve Codina tristate "Freescale QMC HDLC support" 202d0f2258eSHerve Codina depends on HDLC 203d0f2258eSHerve Codina depends on CPM_QMC 204d0f2258eSHerve Codina help 205d0f2258eSHerve Codina HDLC support using the Freescale QUICC Multichannel Controller (QMC). 206d0f2258eSHerve Codina 207d0f2258eSHerve Codina To compile this driver as a module, choose M here: the 208d0f2258eSHerve Codina module will be called fsl_qmc_hdlc. 209d0f2258eSHerve Codina 210d0f2258eSHerve Codina If unsure, say N. 211d0f2258eSHerve Codina 212c19b6d24SZhao Qiangconfig FSL_UCC_HDLC 213c19b6d24SZhao Qiang tristate "Freescale QUICC Engine HDLC support" 214c19b6d24SZhao Qiang depends on HDLC 215c19b6d24SZhao Qiang depends on QUICC_ENGINE 216c19b6d24SZhao Qiang help 217c19b6d24SZhao Qiang Driver for Freescale QUICC Engine HDLC controller. The driver 218c19b6d24SZhao Qiang supports HDLC in NMSI and TDM mode. 219c19b6d24SZhao Qiang 220c19b6d24SZhao Qiang To compile this driver as a module, choose M here: the 221c19b6d24SZhao Qiang module will be called fsl_ucc_hdlc. 222c19b6d24SZhao Qiang 223c37d4a00SZhao Qiangconfig SLIC_DS26522 224c37d4a00SZhao Qiang tristate "Slic Maxim ds26522 card support" 225c37d4a00SZhao Qiang depends on SPI 226059f0141SJavier Martinez Canillas depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST 22769931e11SArnd Bergmann select BITREVERSE 228c37d4a00SZhao Qiang help 229c37d4a00SZhao Qiang This module initializes and configures the slic maxim card 230c37d4a00SZhao Qiang in T1 or E1 mode. 231c37d4a00SZhao Qiang 232c37d4a00SZhao Qiang To compile this driver as a module, choose M here: the 233c37d4a00SZhao Qiang module will be called slic_ds26522. 234c37d4a00SZhao Qiang 235f5b89e41SKrzysztof Hałasaconfig IXP4XX_HSS 236f5b89e41SKrzysztof Hałasa tristate "Intel IXP4xx HSS (synchronous serial port) support" 237c74f16b6SArnd Bergmann depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR 238e1721881SLinus Walleij depends on ARCH_IXP4XX && OF 239e1721881SLinus Walleij select MFD_SYSCON 240f5b89e41SKrzysztof Hałasa help 241f5b89e41SKrzysztof Hałasa Say Y here if you want to use built-in HSS ports 242f5b89e41SKrzysztof Hałasa on IXP4xx processor. 243f5b89e41SKrzysztof Hałasa 2441da177e4SLinus Torvalds# X.25 network drivers 2451da177e4SLinus Torvaldsconfig LAPBETHER 246c9f1b39aSKees Cook tristate "LAPB over Ethernet driver" 247e6c5fb3bSJan Engelhardt depends on LAPB && X25 248a7f7f624SMasahiro Yamada help 2491da177e4SLinus Torvalds Driver for a pseudo device (typically called /dev/lapb0) which allows 2501da177e4SLinus Torvalds you to open an LAPB point-to-point connection to some other computer 2511da177e4SLinus Torvalds on your Ethernet network. 2521da177e4SLinus Torvalds 2531da177e4SLinus Torvalds In order to do this, you need to say Y or M to the driver for your 2541da177e4SLinus Torvalds Ethernet card as well as to "LAPB Data Link Driver". 2551da177e4SLinus Torvalds 2561da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 2571da177e4SLinus Torvalds module will be called lapbether. 2581da177e4SLinus Torvalds 2591da177e4SLinus Torvalds 2601da177e4SLinus Torvalds If unsure, say N. 2611da177e4SLinus Torvalds 262e6c5fb3bSJan Engelhardtendif # WAN 263