xref: /openbmc/linux/drivers/net/wan/Kconfig (revision dd642ccb)
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# There is no way to detect a Sealevel board. Force it modular
61config SEALEVEL_4021
62	tristate "Sealevel Systems 4021 support"
63	depends on ISA && m && ISA_DMA_API && INET && HDLC && VIRT_TO_BUS
64	help
65	  This is a driver for the Sealevel Systems ACB 56 serial I/O adapter.
66
67	  The driver will be compiled as a module: the
68	  module will be called sealevel.
69
70# Generic HDLC
71config HDLC
72	tristate "Generic HDLC layer"
73	help
74	  Say Y to this option if your Linux box contains a WAN (Wide Area
75	  Network) card supported by this driver and you are planning to
76	  connect the box to a WAN.
77
78	  You will need supporting software from
79	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
80	  Generic HDLC driver currently supports raw HDLC, Cisco HDLC, Frame
81	  Relay, synchronous Point-to-Point Protocol (PPP) and X.25.
82
83	  To compile this driver as a module, choose M here: the
84	  module will be called hdlc.
85
86	  If unsure, say N.
87
88config HDLC_RAW
89	tristate "Raw HDLC support"
90	depends on HDLC
91	help
92	  Generic HDLC driver supporting raw HDLC over WAN connections.
93
94	  If unsure, say N.
95
96config HDLC_RAW_ETH
97	tristate "Raw HDLC Ethernet device support"
98	depends on HDLC
99	help
100	  Generic HDLC driver supporting raw HDLC Ethernet device emulation
101	  over WAN connections.
102
103	  You will need it for Ethernet over HDLC bridges.
104
105	  If unsure, say N.
106
107config HDLC_CISCO
108	tristate "Cisco HDLC support"
109	depends on HDLC
110	help
111	  Generic HDLC driver supporting Cisco HDLC over WAN connections.
112
113	  If unsure, say N.
114
115config HDLC_FR
116	tristate "Frame Relay support"
117	depends on HDLC
118	help
119	  Generic HDLC driver supporting Frame Relay over WAN connections.
120
121	  If unsure, say N.
122
123config HDLC_PPP
124	tristate "Synchronous Point-to-Point Protocol (PPP) support"
125	depends on HDLC
126	help
127	  Generic HDLC driver supporting PPP over WAN connections.
128
129	  If unsure, say N.
130
131config HDLC_X25
132	tristate "X.25 protocol support"
133	depends on HDLC && (LAPB=m && HDLC=m || LAPB=y)
134	help
135	  Generic HDLC driver supporting X.25 over WAN connections.
136
137	  If unsure, say N.
138
139comment "X.25/LAPB support is disabled"
140	depends on HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y
141
142config PCI200SYN
143	tristate "Goramo PCI200SYN support"
144	depends on HDLC && PCI
145	help
146	  Driver for PCI200SYN cards by Goramo sp. j.
147
148	  If you have such a card, say Y here and see
149	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
150
151	  To compile this as a module, choose M here: the
152	  module will be called pci200syn.
153
154	  If unsure, say N.
155
156config WANXL
157	tristate "SBE Inc. wanXL support"
158	depends on HDLC && PCI
159	help
160	  Driver for wanXL PCI cards by SBE Inc.
161
162	  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
166	  module will be called wanxl.
167
168	  If unsure, say N.
169
170config WANXL_BUILD_FIRMWARE
171	bool "rebuild wanXL firmware"
172	depends on WANXL && !PREVENT_FIRMWARE_BUILD
173	help
174	  Allows you to rebuild firmware run by the QUICC processor.
175	  It requires m68k toolchains and hexdump programs.
176
177	  You should never need this option, say N.
178
179config PC300TOO
180	tristate "Cyclades PC300 RSV/X21 alternative support"
181	depends on HDLC && PCI
182	help
183	  Alternative driver for PC300 RSV/X21 PCI cards made by
184	  Cyclades, Inc. If you have such a card, say Y here and see
185	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
186
187	  To compile this as a module, choose M here: the module
188	  will be called pc300too.
189
190	  If unsure, say N here.
191
192config N2
193	tristate "SDL RISCom/N2 support"
194	depends on HDLC && ISA
195	help
196	  Driver for RISCom/N2 single or dual channel ISA cards by
197	  SDL Communications Inc.
198
199	  If you have such a card, say Y here and see
200	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
201
202	  Note that N2csu and N2dds cards are not supported by this driver.
203
204	  To compile this driver as a module, choose M here: the module
205	  will be called n2.
206
207	  If unsure, say N.
208
209config C101
210	tristate "Moxa C101 support"
211	depends on HDLC && ISA
212	help
213	  Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd.
214
215	  If you have such a card, say Y here and see
216	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
217
218	  To compile this driver as a module, choose M here: the
219	  module will be called c101.
220
221	  If unsure, say N.
222
223config FARSYNC
224	tristate "FarSync T-Series support"
225	depends on HDLC && PCI
226	help
227	  Support for the FarSync T-Series X.21 (and V.35/V.24) cards by
228	  FarSite Communications Ltd.
229
230	  Synchronous communication is supported on all ports at speeds up to
231	  8Mb/s (128K on V.24) using synchronous PPP, Cisco HDLC, raw HDLC,
232	  Frame Relay or X.25/LAPB.
233
234	  If you want the module to be automatically loaded when the interface
235	  is referenced then you should add "alias hdlcX farsync" to a file
236	  in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or
237	  simply use "alias hdlc* farsync" to indicate all of them.
238
239	  To compile this driver as a module, choose M here: the
240	  module will be called farsync.
241
242config FSL_UCC_HDLC
243	tristate "Freescale QUICC Engine HDLC support"
244	depends on HDLC
245	depends on QUICC_ENGINE
246	help
247	  Driver for Freescale QUICC Engine HDLC controller. The driver
248	  supports HDLC in NMSI and TDM mode.
249
250	  To compile this driver as a module, choose M here: the
251	  module will be called fsl_ucc_hdlc.
252
253config SLIC_DS26522
254	tristate "Slic Maxim ds26522 card support"
255	depends on SPI
256	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
257	select BITREVERSE
258	help
259	  This module initializes and configures the slic maxim card
260	  in T1 or E1 mode.
261
262	  To compile this driver as a module, choose M here: the
263	  module will be called slic_ds26522.
264
265config IXP4XX_HSS
266	tristate "Intel IXP4xx HSS (synchronous serial port) support"
267	depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR
268	depends on ARCH_IXP4XX && OF
269	select MFD_SYSCON
270	help
271	  Say Y here if you want to use built-in HSS ports
272	  on IXP4xx processor.
273
274# X.25 network drivers
275config LAPBETHER
276	tristate "LAPB over Ethernet driver"
277	depends on LAPB && X25
278	help
279	  Driver for a pseudo device (typically called /dev/lapb0) which allows
280	  you to open an LAPB point-to-point connection to some other computer
281	  on your Ethernet network.
282
283	  In order to do this, you need to say Y or M to the driver for your
284	  Ethernet card as well as to "LAPB Data Link Driver".
285
286	  To compile this driver as a module, choose M here: the
287	  module will be called lapbether.
288
289
290	  If unsure, say N.
291
292endif # WAN
293