xref: /linux-6.15/drivers/net/wan/Kconfig (revision 89fbca33)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# wan devices configuration
4#
5
6menuconfig WAN
7	bool "Wan interfaces support"
8	help
9	  Wide Area Networks (WANs), such as X.25, Frame Relay and leased
10	  lines, are used to interconnect Local Area Networks (LANs) over vast
11	  distances with data transfer rates significantly higher than those
12	  achievable with commonly used asynchronous modem connections.
13
14	  Usually, a quite expensive external device called a `WAN router' is
15	  needed to connect to a WAN. As an alternative, a relatively
16	  inexpensive WAN interface card can allow your Linux box to directly
17	  connect to a WAN.
18
19	  If you have one of those cards and wish to use it under Linux,
20	  say Y here and also to the WAN driver for your card.
21
22	  If unsure, say N.
23
24if WAN
25
26# There is no way to detect a comtrol sv11 - force it modular for now.
27config HOSTESS_SV11
28	tristate "Comtrol Hostess SV-11 support"
29	depends on ISA && m && ISA_DMA_API && INET && HDLC && VIRT_TO_BUS
30	help
31	  Driver for Comtrol Hostess SV-11 network card which
32	  operates on low speed synchronous serial links at up to
33	  256Kbps, supporting PPP and Cisco HDLC.
34
35	  The driver will be compiled as a module: the
36	  module will be called hostess_sv11.
37
38# There is no way to detect a Sealevel board. Force it modular
39config SEALEVEL_4021
40	tristate "Sealevel Systems 4021 support"
41	depends on ISA && m && ISA_DMA_API && INET && HDLC && VIRT_TO_BUS
42	help
43	  This is a driver for the Sealevel Systems ACB 56 serial I/O adapter.
44
45	  The driver will be compiled as a module: the
46	  module will be called sealevel.
47
48# Generic HDLC
49config HDLC
50	tristate "Generic HDLC layer"
51	help
52	  Say Y to this option if your Linux box contains a WAN (Wide Area
53	  Network) card supported by this driver and you are planning to
54	  connect the box to a WAN.
55
56	  You will need supporting software from
57	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
58	  Generic HDLC driver currently supports raw HDLC, Cisco HDLC, Frame
59	  Relay, synchronous Point-to-Point Protocol (PPP) and X.25.
60
61	  To compile this driver as a module, choose M here: the
62	  module will be called hdlc.
63
64	  If unsure, say N.
65
66config HDLC_RAW
67	tristate "Raw HDLC support"
68	depends on HDLC
69	help
70	  Generic HDLC driver supporting raw HDLC over WAN connections.
71
72	  If unsure, say N.
73
74config HDLC_RAW_ETH
75	tristate "Raw HDLC Ethernet device support"
76	depends on HDLC
77	help
78	  Generic HDLC driver supporting raw HDLC Ethernet device emulation
79	  over WAN connections.
80
81	  You will need it for Ethernet over HDLC bridges.
82
83	  If unsure, say N.
84
85config HDLC_CISCO
86	tristate "Cisco HDLC support"
87	depends on HDLC
88	help
89	  Generic HDLC driver supporting Cisco HDLC over WAN connections.
90
91	  If unsure, say N.
92
93config HDLC_FR
94	tristate "Frame Relay support"
95	depends on HDLC
96	help
97	  Generic HDLC driver supporting Frame Relay over WAN connections.
98
99	  If unsure, say N.
100
101config HDLC_PPP
102	tristate "Synchronous Point-to-Point Protocol (PPP) support"
103	depends on HDLC
104	help
105	  Generic HDLC driver supporting PPP over WAN connections.
106
107	  If unsure, say N.
108
109config HDLC_X25
110	tristate "X.25 protocol support"
111	depends on HDLC && (LAPB=m && HDLC=m || LAPB=y)
112	help
113	  Generic HDLC driver supporting X.25 over WAN connections.
114
115	  If unsure, say N.
116
117comment "X.25/LAPB support is disabled"
118	depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y
119
120config PCI200SYN
121	tristate "Goramo PCI200SYN support"
122	depends on HDLC && PCI
123	help
124	  Driver for PCI200SYN cards by Goramo sp. j.
125
126	  If you have such a card, say Y here and see
127	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
128
129	  To compile this as a module, choose M here: the
130	  module will be called pci200syn.
131
132	  If unsure, say N.
133
134config WANXL
135	tristate "SBE Inc. wanXL support"
136	depends on HDLC && PCI
137	help
138	  Driver for wanXL PCI cards by SBE Inc.
139
140	  If you have such a card, say Y here and see
141	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
142
143	  To compile this as a module, choose M here: the
144	  module will be called wanxl.
145
146	  If unsure, say N.
147
148config WANXL_BUILD_FIRMWARE
149	bool "rebuild wanXL firmware"
150	depends on WANXL && !PREVENT_FIRMWARE_BUILD
151	help
152	  Allows you to rebuild firmware run by the QUICC processor.
153	  It requires m68k toolchains and hexdump programs.
154
155	  You should never need this option, say N.
156
157config PC300TOO
158	tristate "Cyclades PC300 RSV/X21 alternative support"
159	depends on HDLC && PCI
160	help
161	  Alternative driver for PC300 RSV/X21 PCI cards made by
162	  Cyclades, Inc. If you have such a card, say Y here and see
163	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
164
165	  To compile this as a module, choose M here: the module
166	  will be called pc300too.
167
168	  If unsure, say N here.
169
170config N2
171	tristate "SDL RISCom/N2 support"
172	depends on HDLC && ISA
173	help
174	  Driver for RISCom/N2 single or dual channel ISA cards by
175	  SDL Communications Inc.
176
177	  If you have such a card, say Y here and see
178	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
179
180	  Note that N2csu and N2dds cards are not supported by this driver.
181
182	  To compile this driver as a module, choose M here: the module
183	  will be called n2.
184
185	  If unsure, say N.
186
187config C101
188	tristate "Moxa C101 support"
189	depends on HDLC && ISA
190	help
191	  Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd.
192
193	  If you have such a card, say Y here and see
194	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
195
196	  To compile this driver as a module, choose M here: the
197	  module will be called c101.
198
199	  If unsure, say N.
200
201config FARSYNC
202	tristate "FarSync T-Series support"
203	depends on HDLC && PCI
204	help
205	  Support for the FarSync T-Series X.21 (and V.35/V.24) cards by
206	  FarSite Communications Ltd.
207
208	  Synchronous communication is supported on all ports at speeds up to
209	  8Mb/s (128K on V.24) using synchronous PPP, Cisco HDLC, raw HDLC,
210	  Frame Relay or X.25/LAPB.
211
212	  If you want the module to be automatically loaded when the interface
213	  is referenced then you should add "alias hdlcX farsync" to a file
214	  in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or
215	  simply use "alias hdlc* farsync" to indicate all of them.
216
217	  To compile this driver as a module, choose M here: the
218	  module will be called farsync.
219
220config FSL_UCC_HDLC
221	tristate "Freescale QUICC Engine HDLC support"
222	depends on HDLC
223	depends on QUICC_ENGINE
224	help
225	  Driver for Freescale QUICC Engine HDLC controller. The driver
226	  supports HDLC in NMSI and TDM mode.
227
228	  To compile this driver as a module, choose M here: the
229	  module will be called fsl_ucc_hdlc.
230
231config SLIC_DS26522
232	tristate "Slic Maxim ds26522 card support"
233	depends on SPI
234	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
235	select BITREVERSE
236	help
237	  This module initializes and configures the slic maxim card
238	  in T1 or E1 mode.
239
240	  To compile this driver as a module, choose M here: the
241	  module will be called slic_ds26522.
242
243config IXP4XX_HSS
244	tristate "Intel IXP4xx HSS (synchronous serial port) support"
245	depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR
246	depends on ARCH_IXP4XX && OF
247	select MFD_SYSCON
248	help
249	  Say Y here if you want to use built-in HSS ports
250	  on IXP4xx processor.
251
252# X.25 network drivers
253config LAPBETHER
254	tristate "LAPB over Ethernet driver"
255	depends on LAPB && X25
256	help
257	  Driver for a pseudo device (typically called /dev/lapb0) which allows
258	  you to open an LAPB point-to-point connection to some other computer
259	  on your Ethernet network.
260
261	  In order to do this, you need to say Y or M to the driver for your
262	  Ethernet card as well as to "LAPB Data Link Driver".
263
264	  To compile this driver as a module, choose M here: the
265	  module will be called lapbether.
266
267
268	  If unsure, say N.
269
270endif # WAN
271