xref: /openbmc/linux/drivers/net/wan/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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
981da177e4SLinus Torvaldsconfig PCI200SYN
991da177e4SLinus Torvalds	tristate "Goramo PCI200SYN support"
1001da177e4SLinus Torvalds	depends on HDLC && PCI
1011da177e4SLinus Torvalds	help
1021da177e4SLinus Torvalds	  Driver for PCI200SYN cards by Goramo sp. j.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  If you have such a card, say Y here and see
1051da177e4SLinus Torvalds	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  To compile this as a module, choose M here: the
1081da177e4SLinus Torvalds	  module will be called pci200syn.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvalds	  If unsure, say N.
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldsconfig WANXL
1131da177e4SLinus Torvalds	tristate "SBE Inc. wanXL support"
1141da177e4SLinus Torvalds	depends on HDLC && PCI
1151da177e4SLinus Torvalds	help
1161da177e4SLinus Torvalds	  Driver for wanXL PCI cards by SBE Inc.
1171da177e4SLinus Torvalds
1181da177e4SLinus Torvalds	  If you have such a card, say Y here and see
1191da177e4SLinus Torvalds	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvalds	  To compile this as a module, choose M here: the
1221da177e4SLinus Torvalds	  module will be called wanxl.
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvalds	  If unsure, say N.
1251da177e4SLinus Torvalds
1261da177e4SLinus Torvaldsconfig WANXL_BUILD_FIRMWARE
1271da177e4SLinus Torvalds	bool "rebuild wanXL firmware"
1281da177e4SLinus Torvalds	depends on WANXL && !PREVENT_FIRMWARE_BUILD
1291da177e4SLinus Torvalds	help
1301da177e4SLinus Torvalds	  Allows you to rebuild firmware run by the QUICC processor.
13163b903dfSMasahiro Yamada	  It requires m68k toolchains and hexdump programs.
1321da177e4SLinus Torvalds
1331da177e4SLinus Torvalds	  You should never need this option, say N.
1341da177e4SLinus Torvalds
1357517c1b7SKrzysztof Halasaconfig PC300TOO
1367517c1b7SKrzysztof Halasa	tristate "Cyclades PC300 RSV/X21 alternative support"
1377517c1b7SKrzysztof Halasa	depends on HDLC && PCI
1387517c1b7SKrzysztof Halasa	help
1397517c1b7SKrzysztof Halasa	  Alternative driver for PC300 RSV/X21 PCI cards made by
1407517c1b7SKrzysztof Halasa	  Cyclades, Inc. If you have such a card, say Y here and see
1417517c1b7SKrzysztof Halasa	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
1427517c1b7SKrzysztof Halasa
1437517c1b7SKrzysztof Halasa	  To compile this as a module, choose M here: the module
1447517c1b7SKrzysztof Halasa	  will be called pc300too.
1457517c1b7SKrzysztof Halasa
1467517c1b7SKrzysztof Halasa	  If unsure, say N here.
1477517c1b7SKrzysztof Halasa
1481da177e4SLinus Torvaldsconfig N2
1491da177e4SLinus Torvalds	tristate "SDL RISCom/N2 support"
1501da177e4SLinus Torvalds	depends on HDLC && ISA
1511da177e4SLinus Torvalds	help
1521da177e4SLinus Torvalds	  Driver for RISCom/N2 single or dual channel ISA cards by
1531da177e4SLinus Torvalds	  SDL Communications Inc.
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds	  If you have such a card, say Y here and see
1561da177e4SLinus Torvalds	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	  Note that N2csu and N2dds cards are not supported by this driver.
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the module
1611da177e4SLinus Torvalds	  will be called n2.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvalds	  If unsure, say N.
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvaldsconfig C101
1661da177e4SLinus Torvalds	tristate "Moxa C101 support"
1671da177e4SLinus Torvalds	depends on HDLC && ISA
1681da177e4SLinus Torvalds	help
1691da177e4SLinus Torvalds	  Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd.
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvalds	  If you have such a card, say Y here and see
1721da177e4SLinus Torvalds	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1751da177e4SLinus Torvalds	  module will be called c101.
1761da177e4SLinus Torvalds
1771da177e4SLinus Torvalds	  If unsure, say N.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvaldsconfig FARSYNC
1801da177e4SLinus Torvalds	tristate "FarSync T-Series support"
1811da177e4SLinus Torvalds	depends on HDLC && PCI
182a7f7f624SMasahiro Yamada	help
1831da177e4SLinus Torvalds	  Support for the FarSync T-Series X.21 (and V.35/V.24) cards by
1841da177e4SLinus Torvalds	  FarSite Communications Ltd.
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvalds	  Synchronous communication is supported on all ports at speeds up to
1871da177e4SLinus Torvalds	  8Mb/s (128K on V.24) using synchronous PPP, Cisco HDLC, raw HDLC,
1881da177e4SLinus Torvalds	  Frame Relay or X.25/LAPB.
1891da177e4SLinus Torvalds
1901da177e4SLinus Torvalds	  If you want the module to be automatically loaded when the interface
191970e2486SLucas De Marchi	  is referenced then you should add "alias hdlcX farsync" to a file
192970e2486SLucas De Marchi	  in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or
1931da177e4SLinus Torvalds	  simply use "alias hdlc* farsync" to indicate all of them.
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1961da177e4SLinus Torvalds	  module will be called farsync.
1971da177e4SLinus Torvalds
198c19b6d24SZhao Qiangconfig FSL_UCC_HDLC
199c19b6d24SZhao Qiang	tristate "Freescale QUICC Engine HDLC support"
200c19b6d24SZhao Qiang	depends on HDLC
201c19b6d24SZhao Qiang	depends on QUICC_ENGINE
202c19b6d24SZhao Qiang	help
203c19b6d24SZhao Qiang	  Driver for Freescale QUICC Engine HDLC controller. The driver
204c19b6d24SZhao Qiang	  supports HDLC in NMSI and TDM mode.
205c19b6d24SZhao Qiang
206c19b6d24SZhao Qiang	  To compile this driver as a module, choose M here: the
207c19b6d24SZhao Qiang	  module will be called fsl_ucc_hdlc.
208c19b6d24SZhao Qiang
209c37d4a00SZhao Qiangconfig SLIC_DS26522
210c37d4a00SZhao Qiang	tristate "Slic Maxim ds26522 card support"
211c37d4a00SZhao Qiang	depends on SPI
212059f0141SJavier Martinez Canillas	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
21369931e11SArnd Bergmann	select BITREVERSE
214c37d4a00SZhao Qiang	help
215c37d4a00SZhao Qiang	  This module initializes and configures the slic maxim card
216c37d4a00SZhao Qiang	  in T1 or E1 mode.
217c37d4a00SZhao Qiang
218c37d4a00SZhao Qiang	  To compile this driver as a module, choose M here: the
219c37d4a00SZhao Qiang	  module will be called slic_ds26522.
220c37d4a00SZhao Qiang
221f5b89e41SKrzysztof Hałasaconfig IXP4XX_HSS
222f5b89e41SKrzysztof Hałasa	tristate "Intel IXP4xx HSS (synchronous serial port) support"
223c74f16b6SArnd Bergmann	depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR
224*e1721881SLinus Walleij	depends on ARCH_IXP4XX && OF
225*e1721881SLinus Walleij	select MFD_SYSCON
226f5b89e41SKrzysztof Hałasa	help
227f5b89e41SKrzysztof Hałasa	  Say Y here if you want to use built-in HSS ports
228f5b89e41SKrzysztof Hałasa	  on IXP4xx processor.
229f5b89e41SKrzysztof Hałasa
2301da177e4SLinus Torvalds# X.25 network drivers
2311da177e4SLinus Torvaldsconfig LAPBETHER
232c9f1b39aSKees Cook	tristate "LAPB over Ethernet driver"
233e6c5fb3bSJan Engelhardt	depends on LAPB && X25
234a7f7f624SMasahiro Yamada	help
2351da177e4SLinus Torvalds	  Driver for a pseudo device (typically called /dev/lapb0) which allows
2361da177e4SLinus Torvalds	  you to open an LAPB point-to-point connection to some other computer
2371da177e4SLinus Torvalds	  on your Ethernet network.
2381da177e4SLinus Torvalds
2391da177e4SLinus Torvalds	  In order to do this, you need to say Y or M to the driver for your
2401da177e4SLinus Torvalds	  Ethernet card as well as to "LAPB Data Link Driver".
2411da177e4SLinus Torvalds
2421da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2431da177e4SLinus Torvalds	  module will be called lapbether.
2441da177e4SLinus Torvalds
2451da177e4SLinus Torvalds
2461da177e4SLinus Torvalds	  If unsure, say N.
2471da177e4SLinus Torvalds
248e6c5fb3bSJan Engelhardtendif # WAN
249