xref: /openbmc/linux/drivers/net/wan/Kconfig (revision 42466b9f)
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 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 && ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
319	help
320	  Say Y here if you want to use built-in HSS ports
321	  on IXP4xx processor.
322
323config DLCI
324	tristate "Frame Relay DLCI support"
325	---help---
326	  Support for the Frame Relay protocol.
327
328	  Frame Relay is a fast low-cost way to connect to a remote Internet
329	  access provider or to form a private wide area network. The one
330	  physical line from your box to the local "switch" (i.e. the entry
331	  point to the Frame Relay network, usually at the phone company) can
332	  carry several logical point-to-point connections to other computers
333	  connected to the Frame Relay network. For a general explanation of
334	  the protocol, check out <http://www.mplsforum.org/>.
335
336	  To use frame relay, you need supporting hardware (called FRAD) and
337	  certain programs from the net-tools package as explained in
338	  <file:Documentation/networking/framerelay.txt>.
339
340	  To compile this driver as a module, choose M here: the
341	  module will be called dlci.
342
343config DLCI_MAX
344	int "Max DLCI per device"
345	depends on DLCI
346	default "8"
347	help
348	  How many logical point-to-point frame relay connections (the
349	  identifiers of which are called DCLIs) should be handled by each
350	  of your hardware frame relay access devices.
351
352	  Go with the default.
353
354config SDLA
355	tristate "SDLA (Sangoma S502/S508) support"
356	depends on DLCI && ISA
357	help
358	  Driver for the Sangoma S502A, S502E, and S508 Frame Relay Access
359	  Devices.
360
361	  These are multi-protocol cards, but only Frame Relay is supported
362	  by the driver at this time. Please read
363	  <file:Documentation/networking/framerelay.txt>.
364
365	  To compile this driver as a module, choose M here: the
366	  module will be called sdla.
367
368# X.25 network drivers
369config LAPBETHER
370	tristate "LAPB over Ethernet driver"
371	depends on LAPB && X25
372	---help---
373	  Driver for a pseudo device (typically called /dev/lapb0) which allows
374	  you to open an LAPB point-to-point connection to some other computer
375	  on your Ethernet network.
376
377	  In order to do this, you need to say Y or M to the driver for your
378	  Ethernet card as well as to "LAPB Data Link Driver".
379
380	  To compile this driver as a module, choose M here: the
381	  module will be called lapbether.
382
383	  If unsure, say N.
384
385config X25_ASY
386	tristate "X.25 async driver"
387	depends on LAPB && X25 && TTY
388	---help---
389	  Send and receive X.25 frames over regular asynchronous serial
390	  lines such as telephone lines equipped with ordinary modems.
391
392	  Experts should note that this driver doesn't currently comply with
393	  the asynchronous HDLS framing protocols in CCITT recommendation X.25.
394
395	  To compile this driver as a module, choose M here: the
396	  module will be called x25_asy.
397
398	  If unsure, say N.
399
400config SBNI
401	tristate "Granch SBNI12 Leased Line adapter support"
402	depends on X86
403	---help---
404	  Driver for ISA SBNI12-xx cards which are low cost alternatives to
405	  leased line modems.
406
407	  You can find more information and last versions of drivers and
408	  utilities at <http://www.granch.ru/>. If you have any question you
409	  can send email to <sbni@granch.ru>.
410
411	  To compile this driver as a module, choose M here: the
412	  module will be called sbni.
413
414	  If unsure, say N.
415
416config SBNI_MULTILINE
417	bool "Multiple line feature support"
418	depends on SBNI
419	help
420	  Schedule traffic for some parallel lines, via SBNI12 adapters.
421
422	  If you have two computers connected with two parallel lines it's
423	  possible to increase transfer rate nearly twice. You should have
424	  a program named 'sbniconfig' to configure adapters.
425
426	  If unsure, say N.
427
428endif # WAN
429