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# The COSA/SRP driver has not been tested as non-modular yet.
39config COSA
40	tristate "COSA/SRP sync serial boards support"
41	depends on ISA && m && ISA_DMA_API && HDLC && VIRT_TO_BUS
42	help
43	  Driver for COSA and SRP synchronous serial boards.
44
45	  These boards allow to connect synchronous serial devices (for example
46	  base-band modems, or any other device with the X.21, V.24, V.35 or
47	  V.36 interface) to your Linux box. The cards can work as the
48	  character device, synchronous PPP network device, or the Cisco HDLC
49	  network device.
50
51	  You will need user-space utilities COSA or SRP boards for downloading
52 	  the firmware to the cards and to set them up. Look at the
53	  <http://www.fi.muni.cz/~kas/cosa/> for more information. You can also
54	  read the comment at the top of the <file:drivers/net/wan/cosa.c> for
55	  details about the cards and the driver itself.
56
57	  The driver will be compiled as a module: the
58	  module will be called cosa.
59
60#
61# Lan Media's board. Currently 1000, 1200, 5200, 5245
62#
63config LANMEDIA
64	tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards"
65	depends on PCI && VIRT_TO_BUS && HDLC
66	help
67	  Driver for the following Lan Media family of serial boards:
68
69	  - LMC 1000 board allows you to connect synchronous serial devices
70	  (for example base-band modems, or any other device with the X.21,
71	  V.24, V.35 or V.36 interface) to your Linux box.
72
73	  - LMC 1200 with on board DSU board allows you to connect your Linux
74	  box directly to a T1 or E1 circuit.
75
76	  - LMC 5200 board provides a HSSI interface capable of running up to
77	  52 Mbits per second.
78
79	  - LMC 5245 board connects directly to a T3 circuit saving the
80	  additional external hardware.
81
82	  To change setting such as clock source you will need lmcctl.
83	  It is available at <ftp://ftp.lanmedia.com/> (broken link).
84
85	  To compile this driver as a module, choose M here: the
86	  module will be called lmc.
87
88# There is no way to detect a Sealevel board. Force it modular
89config SEALEVEL_4021
90	tristate "Sealevel Systems 4021 support"
91	depends on ISA && m && ISA_DMA_API && INET && HDLC && VIRT_TO_BUS
92	help
93	  This is a driver for the Sealevel Systems ACB 56 serial I/O adapter.
94
95	  The driver will be compiled as a module: the
96	  module will be called sealevel.
97
98# Generic HDLC
99config HDLC
100	tristate "Generic HDLC layer"
101	help
102	  Say Y to this option if your Linux box contains a WAN (Wide Area
103	  Network) card supported by this driver and you are planning to
104	  connect the box to a WAN.
105
106	  You will need supporting software from
107	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
108	  Generic HDLC driver currently supports raw HDLC, Cisco HDLC, Frame
109	  Relay, synchronous Point-to-Point Protocol (PPP) and X.25.
110
111 	  To compile this driver as a module, choose M here: the
112	  module will be called hdlc.
113
114	  If unsure, say N.
115
116config HDLC_RAW
117	tristate "Raw HDLC support"
118	depends on HDLC
119	help
120	  Generic HDLC driver supporting raw HDLC over WAN connections.
121
122	  If unsure, say N.
123
124config HDLC_RAW_ETH
125	tristate "Raw HDLC Ethernet device support"
126	depends on HDLC
127	help
128	  Generic HDLC driver supporting raw HDLC Ethernet device emulation
129	  over WAN connections.
130
131	  You will need it for Ethernet over HDLC bridges.
132
133	  If unsure, say N.
134
135config HDLC_CISCO
136	tristate "Cisco HDLC support"
137	depends on HDLC
138	help
139	  Generic HDLC driver supporting Cisco HDLC over WAN connections.
140
141	  If unsure, say N.
142
143config HDLC_FR
144	tristate "Frame Relay support"
145	depends on HDLC
146	help
147	  Generic HDLC driver supporting Frame Relay over WAN connections.
148
149	  If unsure, say N.
150
151config HDLC_PPP
152	tristate "Synchronous Point-to-Point Protocol (PPP) support"
153	depends on HDLC
154	help
155	  Generic HDLC driver supporting PPP over WAN connections.
156
157	  If unsure, say N.
158
159config HDLC_X25
160	tristate "X.25 protocol support"
161	depends on HDLC && (LAPB=m && HDLC=m || LAPB=y)
162	help
163	  Generic HDLC driver supporting X.25 over WAN connections.
164
165	  If unsure, say N.
166
167comment "X.25/LAPB support is disabled"
168	depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y
169
170config PCI200SYN
171	tristate "Goramo PCI200SYN support"
172	depends on HDLC && PCI
173	help
174	  Driver for PCI200SYN cards by Goramo sp. j.
175
176	  If you have such a card, say Y here and see
177	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
178
179	  To compile this as a module, choose M here: the
180	  module will be called pci200syn.
181
182	  If unsure, say N.
183
184config WANXL
185	tristate "SBE Inc. wanXL support"
186	depends on HDLC && PCI
187	help
188	  Driver for wanXL PCI cards by SBE Inc.
189
190	  If you have such a card, say Y here and see
191	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
192
193	  To compile this as a module, choose M here: the
194	  module will be called wanxl.
195
196	  If unsure, say N.
197
198config WANXL_BUILD_FIRMWARE
199	bool "rebuild wanXL firmware"
200	depends on WANXL && !PREVENT_FIRMWARE_BUILD
201	help
202	  Allows you to rebuild firmware run by the QUICC processor.
203	  It requires m68k toolchains and hexdump programs.
204
205	  You should never need this option, say N.
206
207config PC300TOO
208	tristate "Cyclades PC300 RSV/X21 alternative support"
209	depends on HDLC && PCI
210	help
211	  Alternative driver for PC300 RSV/X21 PCI cards made by
212	  Cyclades, Inc. If you have such a card, say Y here and see
213	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
214
215	  To compile this as a module, choose M here: the module
216	  will be called pc300too.
217
218	  If unsure, say N here.
219
220config N2
221	tristate "SDL RISCom/N2 support"
222	depends on HDLC && ISA
223	help
224	  Driver for RISCom/N2 single or dual channel ISA cards by
225	  SDL Communications Inc.
226
227	  If you have such a card, say Y here and see
228	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
229
230	  Note that N2csu and N2dds cards are not supported by this driver.
231
232	  To compile this driver as a module, choose M here: the module
233	  will be called n2.
234
235	  If unsure, say N.
236
237config C101
238	tristate "Moxa C101 support"
239	depends on HDLC && ISA
240	help
241	  Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd.
242
243	  If you have such a card, say Y here and see
244	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
245
246	  To compile this driver as a module, choose M here: the
247	  module will be called c101.
248
249	  If unsure, say N.
250
251config FARSYNC
252	tristate "FarSync T-Series support"
253	depends on HDLC && PCI
254	help
255	  Support for the FarSync T-Series X.21 (and V.35/V.24) cards by
256	  FarSite Communications Ltd.
257
258	  Synchronous communication is supported on all ports at speeds up to
259	  8Mb/s (128K on V.24) using synchronous PPP, Cisco HDLC, raw HDLC,
260	  Frame Relay or X.25/LAPB.
261
262	  If you want the module to be automatically loaded when the interface
263	  is referenced then you should add "alias hdlcX farsync" to a file
264	  in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or
265	  simply use "alias hdlc* farsync" to indicate all of them.
266
267	  To compile this driver as a module, choose M here: the
268	  module will be called farsync.
269
270config FSL_UCC_HDLC
271	tristate "Freescale QUICC Engine HDLC support"
272	depends on HDLC
273	depends on QUICC_ENGINE
274	help
275	  Driver for Freescale QUICC Engine HDLC controller. The driver
276	  supports HDLC in NMSI and TDM mode.
277
278	  To compile this driver as a module, choose M here: the
279	  module will be called fsl_ucc_hdlc.
280
281config SLIC_DS26522
282	tristate "Slic Maxim ds26522 card support"
283	depends on SPI
284	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
285	help
286	  This module initializes and configures the slic maxim card
287	  in T1 or E1 mode.
288
289	  To compile this driver as a module, choose M here: the
290	  module will be called slic_ds26522.
291
292config DSCC4_PCISYNC
293	bool "Etinc PCISYNC features"
294	depends on DSCC4
295	help
296	  Due to Etinc's design choice for its PCISYNC cards, some operations
297	  are only allowed on specific ports of the DSCC4. This option is the
298	  only way for the driver to know that it shouldn't return a success
299	  code for these operations.
300
301	  Please say Y if your card is an Etinc's PCISYNC.
302
303config DSCC4_PCI_RST
304	bool "Hard reset support"
305	depends on DSCC4
306	help
307	  Various DSCC4 bugs forbid any reliable software reset of the ASIC.
308	  As a replacement, some vendors provide a way to assert the PCI #RST
309	  pin of DSCC4 through the GPIO port of the card. If you choose Y,
310	  the driver will make use of this feature before module removal
311	  (i.e. rmmod). The feature is known to be available on Commtech's
312	  cards. Contact your manufacturer for details.
313
314	  Say Y if your card supports this feature.
315
316config IXP4XX_HSS
317	tristate "Intel IXP4xx HSS (synchronous serial port) support"
318	depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR
319	depends on ARCH_IXP4XX
320	help
321	  Say Y here if you want to use built-in HSS ports
322	  on IXP4xx processor.
323
324config DLCI
325	tristate "Frame Relay DLCI support"
326	help
327	  Support for the Frame Relay protocol.
328
329	  Frame Relay is a fast low-cost way to connect to a remote Internet
330	  access provider or to form a private wide area network. The one
331	  physical line from your box to the local "switch" (i.e. the entry
332	  point to the Frame Relay network, usually at the phone company) can
333	  carry several logical point-to-point connections to other computers
334	  connected to the Frame Relay network. For a general explanation of
335	  the protocol, check out <http://www.mplsforum.org/>.
336
337	  To use frame relay, you need supporting hardware (called FRAD) and
338	  certain programs from the net-tools package as explained in
339	  <file:Documentation/networking/framerelay.rst>.
340
341	  To compile this driver as a module, choose M here: the
342	  module will be called dlci.
343
344config DLCI_MAX
345	int "Max DLCI per device"
346	depends on DLCI
347	default "8"
348	help
349	  How many logical point-to-point frame relay connections (the
350	  identifiers of which are called DCLIs) should be handled by each
351	  of your hardware frame relay access devices.
352
353	  Go with the default.
354
355config SDLA
356	tristate "SDLA (Sangoma S502/S508) support"
357	depends on DLCI && ISA
358	help
359	  Driver for the Sangoma S502A, S502E, and S508 Frame Relay Access
360	  Devices.
361
362	  These are multi-protocol cards, but only Frame Relay is supported
363	  by the driver at this time. Please read
364	  <file:Documentation/networking/framerelay.rst>.
365
366	  To compile this driver as a module, choose M here: the
367	  module will be called sdla.
368
369# X.25 network drivers
370config LAPBETHER
371	tristate "LAPB over Ethernet driver"
372	depends on LAPB && X25
373	help
374	  Driver for a pseudo device (typically called /dev/lapb0) which allows
375	  you to open an LAPB point-to-point connection to some other computer
376	  on your Ethernet network.
377
378	  In order to do this, you need to say Y or M to the driver for your
379	  Ethernet card as well as to "LAPB Data Link Driver".
380
381	  To compile this driver as a module, choose M here: the
382	  module will be called lapbether.
383
384	  If unsure, say N.
385
386config X25_ASY
387	tristate "X.25 async driver"
388	depends on LAPB && X25 && TTY
389	help
390	  Send and receive X.25 frames over regular asynchronous serial
391	  lines such as telephone lines equipped with ordinary modems.
392
393	  Experts should note that this driver doesn't currently comply with
394	  the asynchronous HDLS framing protocols in CCITT recommendation X.25.
395
396	  To compile this driver as a module, choose M here: the
397	  module will be called x25_asy.
398
399	  If unsure, say N.
400
401config SBNI
402	tristate "Granch SBNI12 Leased Line adapter support"
403	depends on X86
404	help
405	  Driver for ISA SBNI12-xx cards which are low cost alternatives to
406	  leased line modems.
407
408	  You can find more information and last versions of drivers and
409	  utilities at <http://www.granch.ru/>. If you have any question you
410	  can send email to <sbni@granch.ru>.
411
412	  To compile this driver as a module, choose M here: the
413	  module will be called sbni.
414
415	  If unsure, say N.
416
417config SBNI_MULTILINE
418	bool "Multiple line feature support"
419	depends on SBNI
420	help
421	  Schedule traffic for some parallel lines, via SBNI12 adapters.
422
423	  If you have two computers connected with two parallel lines it's
424	  possible to increase transfer rate nearly twice. You should have
425	  a program named 'sbniconfig' to configure adapters.
426
427	  If unsure, say N.
428
429endif # WAN
430