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