xref: /openbmc/linux/drivers/net/wan/Kconfig (revision 06b38e23)
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	select BITREVERSE
286	help
287	  This module initializes and configures the slic maxim card
288	  in T1 or E1 mode.
289
290	  To compile this driver as a module, choose M here: the
291	  module will be called slic_ds26522.
292
293config DSCC4_PCISYNC
294	bool "Etinc PCISYNC features"
295	depends on DSCC4
296	help
297	  Due to Etinc's design choice for its PCISYNC cards, some operations
298	  are only allowed on specific ports of the DSCC4. This option is the
299	  only way for the driver to know that it shouldn't return a success
300	  code for these operations.
301
302	  Please say Y if your card is an Etinc's PCISYNC.
303
304config DSCC4_PCI_RST
305	bool "Hard reset support"
306	depends on DSCC4
307	help
308	  Various DSCC4 bugs forbid any reliable software reset of the ASIC.
309	  As a replacement, some vendors provide a way to assert the PCI #RST
310	  pin of DSCC4 through the GPIO port of the card. If you choose Y,
311	  the driver will make use of this feature before module removal
312	  (i.e. rmmod). The feature is known to be available on Commtech's
313	  cards. Contact your manufacturer for details.
314
315	  Say Y if your card supports this feature.
316
317config IXP4XX_HSS
318	tristate "Intel IXP4xx HSS (synchronous serial port) support"
319	depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR
320	depends on ARCH_IXP4XX
321	help
322	  Say Y here if you want to use built-in HSS ports
323	  on IXP4xx processor.
324
325# X.25 network drivers
326config LAPBETHER
327	tristate "LAPB over Ethernet driver"
328	depends on LAPB && X25
329	help
330	  Driver for a pseudo device (typically called /dev/lapb0) which allows
331	  you to open an LAPB point-to-point connection to some other computer
332	  on your Ethernet network.
333
334	  In order to do this, you need to say Y or M to the driver for your
335	  Ethernet card as well as to "LAPB Data Link Driver".
336
337	  To compile this driver as a module, choose M here: the
338	  module will be called lapbether.
339
340	  If unsure, say N.
341
342config SBNI
343	tristate "Granch SBNI12 Leased Line adapter support"
344	depends on X86
345	help
346	  Driver for ISA SBNI12-xx cards which are low cost alternatives to
347	  leased line modems.
348
349	  You can find more information and last versions of drivers and
350	  utilities at <http://www.granch.ru/>. If you have any question you
351	  can send email to <sbni@granch.ru>.
352
353	  To compile this driver as a module, choose M here: the
354	  module will be called sbni.
355
356	  If unsure, say N.
357
358config SBNI_MULTILINE
359	bool "Multiple line feature support"
360	depends on SBNI
361	help
362	  Schedule traffic for some parallel lines, via SBNI12 adapters.
363
364	  If you have two computers connected with two parallel lines it's
365	  possible to increase transfer rate nearly twice. You should have
366	  a program named 'sbniconfig' to configure adapters.
367
368	  If unsure, say N.
369
370endif # WAN
371