xref: /openbmc/linux/drivers/net/wan/Kconfig (revision ecefa105)
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
98config PCI200SYN
99	tristate "Goramo PCI200SYN support"
100	depends on HDLC && PCI
101	help
102	  Driver for PCI200SYN cards by Goramo sp. j.
103
104	  If you have such a card, say Y here and see
105	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
106
107	  To compile this as a module, choose M here: the
108	  module will be called pci200syn.
109
110	  If unsure, say N.
111
112config WANXL
113	tristate "SBE Inc. wanXL support"
114	depends on HDLC && PCI
115	help
116	  Driver for wanXL PCI cards by SBE Inc.
117
118	  If you have such a card, say Y here and see
119	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
120
121	  To compile this as a module, choose M here: the
122	  module will be called wanxl.
123
124	  If unsure, say N.
125
126config WANXL_BUILD_FIRMWARE
127	bool "rebuild wanXL firmware"
128	depends on WANXL && !PREVENT_FIRMWARE_BUILD
129	help
130	  Allows you to rebuild firmware run by the QUICC processor.
131	  It requires m68k toolchains and hexdump programs.
132
133	  You should never need this option, say N.
134
135config PC300TOO
136	tristate "Cyclades PC300 RSV/X21 alternative support"
137	depends on HDLC && PCI
138	help
139	  Alternative driver for PC300 RSV/X21 PCI cards made by
140	  Cyclades, Inc. If you have such a card, say Y here and see
141	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
142
143	  To compile this as a module, choose M here: the module
144	  will be called pc300too.
145
146	  If unsure, say N here.
147
148config N2
149	tristate "SDL RISCom/N2 support"
150	depends on HDLC && ISA
151	help
152	  Driver for RISCom/N2 single or dual channel ISA cards by
153	  SDL Communications Inc.
154
155	  If you have such a card, say Y here and see
156	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
157
158	  Note that N2csu and N2dds cards are not supported by this driver.
159
160	  To compile this driver as a module, choose M here: the module
161	  will be called n2.
162
163	  If unsure, say N.
164
165config C101
166	tristate "Moxa C101 support"
167	depends on HDLC && ISA
168	help
169	  Driver for C101 SuperSync ISA cards by Moxa Technologies Co., Ltd.
170
171	  If you have such a card, say Y here and see
172	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
173
174	  To compile this driver as a module, choose M here: the
175	  module will be called c101.
176
177	  If unsure, say N.
178
179config FARSYNC
180	tristate "FarSync T-Series support"
181	depends on HDLC && PCI
182	help
183	  Support for the FarSync T-Series X.21 (and V.35/V.24) cards by
184	  FarSite Communications Ltd.
185
186	  Synchronous communication is supported on all ports at speeds up to
187	  8Mb/s (128K on V.24) using synchronous PPP, Cisco HDLC, raw HDLC,
188	  Frame Relay or X.25/LAPB.
189
190	  If you want the module to be automatically loaded when the interface
191	  is referenced then you should add "alias hdlcX farsync" to a file
192	  in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or
193	  simply use "alias hdlc* farsync" to indicate all of them.
194
195	  To compile this driver as a module, choose M here: the
196	  module will be called farsync.
197
198config FSL_UCC_HDLC
199	tristate "Freescale QUICC Engine HDLC support"
200	depends on HDLC
201	depends on QUICC_ENGINE
202	help
203	  Driver for Freescale QUICC Engine HDLC controller. The driver
204	  supports HDLC in NMSI and TDM mode.
205
206	  To compile this driver as a module, choose M here: the
207	  module will be called fsl_ucc_hdlc.
208
209config SLIC_DS26522
210	tristate "Slic Maxim ds26522 card support"
211	depends on SPI
212	depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST
213	select BITREVERSE
214	help
215	  This module initializes and configures the slic maxim card
216	  in T1 or E1 mode.
217
218	  To compile this driver as a module, choose M here: the
219	  module will be called slic_ds26522.
220
221config IXP4XX_HSS
222	tristate "Intel IXP4xx HSS (synchronous serial port) support"
223	depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR
224	depends on ARCH_IXP4XX && OF
225	select MFD_SYSCON
226	help
227	  Say Y here if you want to use built-in HSS ports
228	  on IXP4xx processor.
229
230# X.25 network drivers
231config LAPBETHER
232	tristate "LAPB over Ethernet driver"
233	depends on LAPB && X25
234	help
235	  Driver for a pseudo device (typically called /dev/lapb0) which allows
236	  you to open an LAPB point-to-point connection to some other computer
237	  on your Ethernet network.
238
239	  In order to do this, you need to say Y or M to the driver for your
240	  Ethernet card as well as to "LAPB Data Link Driver".
241
242	  To compile this driver as a module, choose M here: the
243	  module will be called lapbether.
244
245
246	  If unsure, say N.
247
248endif # WAN
249