xref: /openbmc/linux/drivers/net/wan/Kconfig (revision 9b93eb47)
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 as68k, ld68k 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 DSCC4
271	tristate "Etinc PCISYNC serial board support"
272	depends on HDLC && PCI && m
273	help
274	  Driver for Etinc PCISYNC boards based on the Infineon (ex. Siemens)
275	  DSCC4 chipset.
276
277	  This is supposed to work with the four port card. Take a look at
278	  <http://www.cogenit.fr/dscc4/> for further information about the
279	  driver.
280
281	  To compile this driver as a module, choose M here: the
282	  module will be called dscc4.
283
284config FSL_UCC_HDLC
285	tristate "Freescale QUICC Engine HDLC support"
286	depends on HDLC
287	depends on QUICC_ENGINE
288	help
289	  Driver for Freescale QUICC Engine HDLC controller. The driver
290	  supports HDLC in NMSI and TDM mode.
291
292	  To compile this driver as a module, choose M here: the
293	  module will be called fsl_ucc_hdlc.
294
295config SLIC_DS26522
296	tristate "Slic Maxim ds26522 card support"
297	depends on SPI
298	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
299	help
300	  This module initializes and configures the slic maxim card
301	  in T1 or E1 mode.
302
303	  To compile this driver as a module, choose M here: the
304	  module will be called slic_ds26522.
305
306config DSCC4_PCISYNC
307	bool "Etinc PCISYNC features"
308	depends on DSCC4
309	help
310	  Due to Etinc's design choice for its PCISYNC cards, some operations
311	  are only allowed on specific ports of the DSCC4. This option is the
312	  only way for the driver to know that it shouldn't return a success
313	  code for these operations.
314
315	  Please say Y if your card is an Etinc's PCISYNC.
316
317config DSCC4_PCI_RST
318	bool "Hard reset support"
319	depends on DSCC4
320	help
321	  Various DSCC4 bugs forbid any reliable software reset of the ASIC.
322	  As a replacement, some vendors provide a way to assert the PCI #RST
323	  pin of DSCC4 through the GPIO port of the card. If you choose Y,
324	  the driver will make use of this feature before module removal
325	  (i.e. rmmod). The feature is known to be available on Commtech's
326	  cards. Contact your manufacturer for details.
327
328	  Say Y if your card supports this feature.
329
330config IXP4XX_HSS
331	tristate "Intel IXP4xx HSS (synchronous serial port) support"
332	depends on HDLC && ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
333	help
334	  Say Y here if you want to use built-in HSS ports
335	  on IXP4xx processor.
336
337config DLCI
338	tristate "Frame Relay DLCI support"
339	---help---
340	  Support for the Frame Relay protocol.
341
342	  Frame Relay is a fast low-cost way to connect to a remote Internet
343	  access provider or to form a private wide area network. The one
344	  physical line from your box to the local "switch" (i.e. the entry
345	  point to the Frame Relay network, usually at the phone company) can
346	  carry several logical point-to-point connections to other computers
347	  connected to the Frame Relay network. For a general explanation of
348	  the protocol, check out <http://www.mplsforum.org/>.
349
350	  To use frame relay, you need supporting hardware (called FRAD) and
351	  certain programs from the net-tools package as explained in
352	  <file:Documentation/networking/framerelay.txt>.
353
354	  To compile this driver as a module, choose M here: the
355	  module will be called dlci.
356
357config DLCI_MAX
358	int "Max DLCI per device"
359	depends on DLCI
360	default "8"
361	help
362	  How many logical point-to-point frame relay connections (the
363	  identifiers of which are called DCLIs) should be handled by each
364	  of your hardware frame relay access devices.
365
366	  Go with the default.
367
368config SDLA
369	tristate "SDLA (Sangoma S502/S508) support"
370	depends on DLCI && ISA
371	help
372	  Driver for the Sangoma S502A, S502E, and S508 Frame Relay Access
373	  Devices.
374
375	  These are multi-protocol cards, but only Frame Relay is supported
376	  by the driver at this time. Please read
377	  <file:Documentation/networking/framerelay.txt>.
378
379	  To compile this driver as a module, choose M here: the
380	  module will be called sdla.
381
382# X.25 network drivers
383config LAPBETHER
384	tristate "LAPB over Ethernet driver"
385	depends on LAPB && X25
386	---help---
387	  Driver for a pseudo device (typically called /dev/lapb0) which allows
388	  you to open an LAPB point-to-point connection to some other computer
389	  on your Ethernet network.
390
391	  In order to do this, you need to say Y or M to the driver for your
392	  Ethernet card as well as to "LAPB Data Link Driver".
393
394	  To compile this driver as a module, choose M here: the
395	  module will be called lapbether.
396
397	  If unsure, say N.
398
399config X25_ASY
400	tristate "X.25 async driver"
401	depends on LAPB && X25 && TTY
402	---help---
403	  Send and receive X.25 frames over regular asynchronous serial
404	  lines such as telephone lines equipped with ordinary modems.
405
406	  Experts should note that this driver doesn't currently comply with
407	  the asynchronous HDLS framing protocols in CCITT recommendation X.25.
408
409	  To compile this driver as a module, choose M here: the
410	  module will be called x25_asy.
411
412	  If unsure, say N.
413
414config SBNI
415	tristate "Granch SBNI12 Leased Line adapter support"
416	depends on X86
417	---help---
418	  Driver for ISA SBNI12-xx cards which are low cost alternatives to
419	  leased line modems.
420
421	  You can find more information and last versions of drivers and
422	  utilities at <http://www.granch.ru/>. If you have any question you
423	  can send email to <sbni@granch.ru>.
424
425	  To compile this driver as a module, choose M here: the
426	  module will be called sbni.
427
428	  If unsure, say N.
429
430config SBNI_MULTILINE
431	bool "Multiple line feature support"
432	depends on SBNI
433	help
434	  Schedule traffic for some parallel lines, via SBNI12 adapters.
435
436	  If you have two computers connected with two parallel lines it's
437	  possible to increase transfer rate nearly twice. You should have
438	  a program named 'sbniconfig' to configure adapters.
439
440	  If unsure, say N.
441
442endif # WAN
443