2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# wan devices configuration
|
|
|
|
#
|
|
|
|
|
2007-05-11 13:52:59 +08:00
|
|
|
menuconfig WAN
|
2005-04-17 06:20:36 +08:00
|
|
|
bool "Wan interfaces support"
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2005-04-17 06:20:36 +08:00
|
|
|
Wide Area Networks (WANs), such as X.25, Frame Relay and leased
|
|
|
|
lines, are used to interconnect Local Area Networks (LANs) over vast
|
|
|
|
distances with data transfer rates significantly higher than those
|
|
|
|
achievable with commonly used asynchronous modem connections.
|
|
|
|
|
|
|
|
Usually, a quite expensive external device called a `WAN router' is
|
|
|
|
needed to connect to a WAN. As an alternative, a relatively
|
|
|
|
inexpensive WAN interface card can allow your Linux box to directly
|
|
|
|
connect to a WAN.
|
|
|
|
|
|
|
|
If you have one of those cards and wish to use it under Linux,
|
|
|
|
say Y here and also to the WAN driver for your card.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2007-05-11 13:52:59 +08:00
|
|
|
if WAN
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
# Generic HDLC
|
|
|
|
config HDLC
|
|
|
|
tristate "Generic HDLC layer"
|
|
|
|
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
|
|
|
|
connect the box to a WAN.
|
|
|
|
|
|
|
|
You will need supporting software from
|
|
|
|
<http://www.kernel.org/pub/linux/utils/net/hdlc/>.
|
|
|
|
Generic HDLC driver currently supports raw HDLC, Cisco HDLC, Frame
|
|
|
|
Relay, synchronous Point-to-Point Protocol (PPP) and X.25.
|
|
|
|
|
2021-05-17 17:58:33 +08:00
|
|
|
To compile this driver as a module, choose M here: the
|
2005-04-17 06:20:36 +08:00
|
|
|
module will be called hdlc.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDLC_RAW
|
2006-09-27 05:23:45 +08:00
|
|
|
tristate "Raw HDLC support"
|
2005-04-17 06:20:36 +08:00
|
|
|
depends on HDLC
|
|
|
|
help
|
|
|
|
Generic HDLC driver supporting raw HDLC over WAN connections.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDLC_RAW_ETH
|
2006-09-27 05:23:45 +08:00
|
|
|
tristate "Raw HDLC Ethernet device support"
|
2005-04-17 06:20:36 +08:00
|
|
|
depends on HDLC
|
|
|
|
help
|
|
|
|
Generic HDLC driver supporting raw HDLC Ethernet device emulation
|
|
|
|
over WAN connections.
|
|
|
|
|
|
|
|
You will need it for Ethernet over HDLC bridges.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDLC_CISCO
|
2006-09-27 05:23:45 +08:00
|
|
|
tristate "Cisco HDLC support"
|
2005-04-17 06:20:36 +08:00
|
|
|
depends on HDLC
|
|
|
|
help
|
|
|
|
Generic HDLC driver supporting Cisco HDLC over WAN connections.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDLC_FR
|
2006-09-27 05:23:45 +08:00
|
|
|
tristate "Frame Relay support"
|
2005-04-17 06:20:36 +08:00
|
|
|
depends on HDLC
|
|
|
|
help
|
|
|
|
Generic HDLC driver supporting Frame Relay over WAN connections.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDLC_PPP
|
2006-09-27 05:23:45 +08:00
|
|
|
tristate "Synchronous Point-to-Point Protocol (PPP) support"
|
2008-05-12 18:29:11 +08:00
|
|
|
depends on HDLC
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
Generic HDLC driver supporting PPP over WAN connections.
|
2008-04-12 16:10:40 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config HDLC_X25
|
2006-09-27 05:23:45 +08:00
|
|
|
tristate "X.25 protocol support"
|
2005-04-17 06:20:36 +08:00
|
|
|
depends on HDLC && (LAPB=m && HDLC=m || LAPB=y)
|
|
|
|
help
|
|
|
|
Generic HDLC driver supporting X.25 over WAN connections.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
comment "X.25/LAPB support is disabled"
|
2007-05-11 13:52:59 +08:00
|
|
|
depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config PCI200SYN
|
|
|
|
tristate "Goramo PCI200SYN support"
|
|
|
|
depends on HDLC && PCI
|
|
|
|
help
|
|
|
|
Driver for PCI200SYN cards by Goramo sp. j.
|
|
|
|
|
|
|
|
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 pci200syn.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config WANXL
|
|
|
|
tristate "SBE Inc. wanXL support"
|
|
|
|
depends on HDLC && PCI
|
|
|
|
help
|
|
|
|
Driver for wanXL PCI cards by SBE 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 wanxl.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config WANXL_BUILD_FIRMWARE
|
|
|
|
bool "rebuild wanXL firmware"
|
|
|
|
depends on WANXL && !PREVENT_FIRMWARE_BUILD
|
|
|
|
help
|
|
|
|
Allows you to rebuild firmware run by the QUICC processor.
|
net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware
As far as I understood from the Kconfig help text, this build rule is
used to rebuild the driver firmware, which runs on an old m68k-based
chip. So, you need m68k tools for the firmware rebuild.
wanxl.c is a PCI driver, but CONFIG_M68K does not select CONFIG_HAVE_PCI.
So, you cannot enable CONFIG_WANXL_BUILD_FIRMWARE for ARCH=m68k. In other
words, ifeq ($(ARCH),m68k) is false here.
I am keeping the dead code for now, but rebuilding the firmware requires
'as68k' and 'ld68k', which I do not have in hand.
Instead, the kernel.org m68k GCC [1] successfully built it.
Allowing a user to pass in CROSS_COMPILE_M68K= is handier.
[1] https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/9.2.0/x86_64-gcc-9.2.0-nolibc-m68k-linux.tar.xz
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-03-26 13:57:15 +08:00
|
|
|
It requires m68k toolchains and hexdump programs.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
You should never need this option, say N.
|
|
|
|
|
2007-01-30 23:10:24 +08:00
|
|
|
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.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config N2
|
|
|
|
tristate "SDL RISCom/N2 support"
|
|
|
|
depends on HDLC && ISA
|
|
|
|
help
|
|
|
|
Driver for RISCom/N2 single or dual channel ISA cards by
|
|
|
|
SDL Communications Inc.
|
|
|
|
|
|
|
|
If you have such a card, say Y here and see
|
|
|
|
<http://www.kernel.org/pub/linux/utils/net/hdlc/>.
|
|
|
|
|
|
|
|
Note that N2csu and N2dds cards are not supported by this driver.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called n2.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config C101
|
|
|
|
tristate "Moxa C101 support"
|
|
|
|
depends on HDLC && ISA
|
|
|
|
help
|
|
|
|
Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd.
|
|
|
|
|
|
|
|
If you have such a card, say Y here and see
|
|
|
|
<http://www.kernel.org/pub/linux/utils/net/hdlc/>.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called c101.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config FARSYNC
|
|
|
|
tristate "FarSync T-Series support"
|
|
|
|
depends on HDLC && PCI
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2005-04-17 06:20:36 +08:00
|
|
|
Support for the FarSync T-Series X.21 (and V.35/V.24) cards by
|
|
|
|
FarSite Communications Ltd.
|
|
|
|
|
|
|
|
Synchronous communication is supported on all ports at speeds up to
|
|
|
|
8Mb/s (128K on V.24) using synchronous PPP, Cisco HDLC, raw HDLC,
|
|
|
|
Frame Relay or X.25/LAPB.
|
|
|
|
|
|
|
|
If you want the module to be automatically loaded when the interface
|
2012-03-31 04:37:16 +08:00
|
|
|
is referenced then you should add "alias hdlcX farsync" to a file
|
|
|
|
in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or
|
2005-04-17 06:20:36 +08:00
|
|
|
simply use "alias hdlc* farsync" to indicate all of them.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called farsync.
|
|
|
|
|
2016-06-06 14:30:02 +08:00
|
|
|
config FSL_UCC_HDLC
|
|
|
|
tristate "Freescale QUICC Engine HDLC support"
|
|
|
|
depends on HDLC
|
|
|
|
depends on QUICC_ENGINE
|
|
|
|
help
|
|
|
|
Driver for Freescale QUICC Engine HDLC controller. The driver
|
|
|
|
supports HDLC in NMSI and TDM mode.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called fsl_ucc_hdlc.
|
|
|
|
|
2016-06-27 09:30:22 +08:00
|
|
|
config SLIC_DS26522
|
|
|
|
tristate "Slic Maxim ds26522 card support"
|
|
|
|
depends on SPI
|
2016-10-13 03:05:59 +08:00
|
|
|
depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
|
2021-01-04 05:36:23 +08:00
|
|
|
select BITREVERSE
|
2016-06-27 09:30:22 +08:00
|
|
|
help
|
|
|
|
This module initializes and configures the slic maxim card
|
|
|
|
in T1 or E1 mode.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called slic_ds26522.
|
|
|
|
|
2008-12-22 06:52:18 +08:00
|
|
|
config IXP4XX_HSS
|
|
|
|
tristate "Intel IXP4xx HSS (synchronous serial port) support"
|
2020-01-12 20:04:43 +08:00
|
|
|
depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR
|
2022-02-12 06:32:34 +08:00
|
|
|
depends on ARCH_IXP4XX && OF
|
|
|
|
select MFD_SYSCON
|
2008-12-22 06:52:18 +08:00
|
|
|
help
|
|
|
|
Say Y here if you want to use built-in HSS ports
|
|
|
|
on IXP4xx processor.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
# X.25 network drivers
|
|
|
|
config LAPBETHER
|
2012-10-03 02:18:30 +08:00
|
|
|
tristate "LAPB over Ethernet driver"
|
2007-05-11 13:52:59 +08:00
|
|
|
depends on LAPB && X25
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2005-04-17 06:20:36 +08:00
|
|
|
Driver for a pseudo device (typically called /dev/lapb0) which allows
|
|
|
|
you to open an LAPB point-to-point connection to some other computer
|
|
|
|
on your Ethernet network.
|
|
|
|
|
|
|
|
In order to do this, you need to say Y or M to the driver for your
|
|
|
|
Ethernet card as well as to "LAPB Data Link Driver".
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called lapbether.
|
|
|
|
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2007-05-11 13:52:59 +08:00
|
|
|
endif # WAN
|