Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
# SPDX-License-Identifier: GPL-2.0-only
#
# wan devices configuration
#

menuconfig CONFIG_WAN
	bool "Wan interfaces support"
	---help---
	  Wide Area Networks (WANs), such as X.25, Frame Relay and leased
	  lines, are used to interconnect Local Area Networks (LANs) over vast
	  distances with data transfer rates significantly higher than those
	  achievable with commonly used asynchronous modem connections.

	  Usually, a quite expensive external device called a `CONFIG_WAN router' is
	  needed to connect to a CONFIG_WAN. As an alternative, a relatively
	  inexpensive CONFIG_WAN interface card can allow your Linux box to directly
	  connect to a CONFIG_WAN.

	  If you have one of those cards and wish to use it under Linux,
	  say Y here and also to the CONFIG_WAN driver for your card.

	  If unsure, say N.

if CONFIG_WAN

# There is no way to detect a comtrol sv11 - force it modular for now.
config CONFIG_HOSTESS_SV11
	tristate "Comtrol Hostess SV-11 support"
	depends on CONFIG_ISA && m && CONFIG_ISA_DMA_API && CONFIG_INET && CONFIG_HDLC && CONFIG_VIRT_TO_BUS
	help
	  Driver for Comtrol Hostess SV-11 network card which
	  operates on low speed synchronous serial links at up to
	  256Kbps, supporting CONFIG_PPP and Cisco CONFIG_HDLC.

	  The driver will be compiled as a module: the
	  module will be called hostess_sv11.

# The CONFIG_COSA/SRP driver has not been tested as non-modular yet.
config CONFIG_COSA
	tristate "COSA/SRP sync serial boards support"
	depends on CONFIG_ISA && m && CONFIG_ISA_DMA_API && CONFIG_HDLC && CONFIG_VIRT_TO_BUS
	---help---
	  Driver for CONFIG_COSA and SRP synchronous serial boards.

	  These boards allow to connect synchronous serial devices (for example
	  base-band modems, or any other device with the X.21, V.24, V.35 or
	  V.36 interface) to your Linux box. The cards can work as the
	  character device, synchronous CONFIG_PPP network device, or the Cisco CONFIG_HDLC
	  network device.

	  You will need user-space utilities CONFIG_COSA or SRP boards for downloading
 	  the firmware to the cards and to set them up. Look at the
	  <http://www.fi.muni.cz/~kas/cosa/> for more information. You can also
	  read the comment at the top of the <file:drivers/net/wan/cosa.c> for
	  details about the cards and the driver itself.

	  The driver will be compiled as a module: the
	  module will be called cosa.

#
# Lan Media's board. Currently 1000, 1200, 5200, 5245
#
config CONFIG_LANMEDIA
	tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards"
	depends on CONFIG_PCI && CONFIG_VIRT_TO_BUS && CONFIG_HDLC
	---help---
	  Driver for the following Lan Media family of serial boards:

	  - LMC 1000 board allows you to connect synchronous serial devices
	  (for example base-band modems, or any other device with the X.21,
	  V.24, V.35 or V.36 interface) to your Linux box.

	  - LMC 1200 with on board DSU board allows you to connect your Linux
	  box directly to a T1 or CONFIG_E1 circuit.

	  - LMC 5200 board provides a HSSI interface capable of running up to
	  52 Mbits per second.

	  - LMC 5245 board connects directly to a T3 circuit saving the
	  additional external hardware.

	  To change setting such as clock source you will need lmcctl.
	  It is available at <ftp://ftp.lanmedia.com/> (broken link).

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called lmc.

# There is no way to detect a Sealevel board. Force it modular
config CONFIG_SEALEVEL_4021
	tristate "Sealevel Systems 4021 support"
	depends on CONFIG_ISA && m && CONFIG_ISA_DMA_API && CONFIG_INET && CONFIG_HDLC && CONFIG_VIRT_TO_BUS
	help
	  This is a driver for the Sealevel Systems ACB 56 serial I/O adapter.

	  The driver will be compiled as a module: the
	  module will be called sealevel.

# Generic CONFIG_HDLC
config CONFIG_HDLC
	tristate "Generic HDLC layer"
	help
	  Say Y to this option if your Linux box contains a CONFIG_WAN (Wide Area
	  Network) card supported by this driver and you are planning to
	  connect the box to a CONFIG_WAN.

	  You will need supporting software from
	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.
	  Generic CONFIG_HDLC driver currently supports raw CONFIG_HDLC, Cisco CONFIG_HDLC, Frame
	  Relay, synchronous Point-to-Point Protocol (CONFIG_PPP) and X.25.

 	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called hdlc.

	  If unsure, say N.

config CONFIG_HDLC_RAW
	tristate "Raw HDLC support"
	depends on CONFIG_HDLC
	help
	  Generic CONFIG_HDLC driver supporting raw CONFIG_HDLC over CONFIG_WAN connections.

	  If unsure, say N.

config CONFIG_HDLC_RAW_ETH
	tristate "Raw HDLC Ethernet device support"
	depends on CONFIG_HDLC
	help
	  Generic CONFIG_HDLC driver supporting raw CONFIG_HDLC Ethernet device emulation
	  over CONFIG_WAN connections.

	  You will need it for Ethernet over CONFIG_HDLC bridges.

	  If unsure, say N.

config CONFIG_HDLC_CISCO
	tristate "Cisco HDLC support"
	depends on CONFIG_HDLC
	help
	  Generic CONFIG_HDLC driver supporting Cisco CONFIG_HDLC over CONFIG_WAN connections.

	  If unsure, say N.

config CONFIG_HDLC_FR
	tristate "Frame Relay support"
	depends on CONFIG_HDLC
	help
	  Generic CONFIG_HDLC driver supporting Frame Relay over CONFIG_WAN connections.

	  If unsure, say N.

config CONFIG_HDLC_PPP
	tristate "Synchronous Point-to-Point Protocol (PPP) support"
	depends on CONFIG_HDLC
	help
	  Generic CONFIG_HDLC driver supporting CONFIG_PPP over CONFIG_WAN connections.

	  If unsure, say N.

config CONFIG_HDLC_X25
	tristate "X.25 protocol support"
	depends on CONFIG_HDLC && (CONFIG_LAPB=m && CONFIG_HDLC=m || CONFIG_LAPB=y)
	help
	  Generic CONFIG_HDLC driver supporting X.25 over CONFIG_WAN connections.

	  If unsure, say N.

comment "X.25/LAPB support is disabled"
	depends on CONFIG_HDLC && (CONFIG_LAPB!=m || CONFIG_HDLC!=m) && CONFIG_LAPB!=y

config CONFIG_PCI200SYN
	tristate "Goramo PCI200SYN support"
	depends on CONFIG_HDLC && CONFIG_PCI
	help
	  Driver for CONFIG_PCI200SYN cards by Goramo sp. j.

	  If you have such a card, say Y here and see
	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.

	  To compile this as a module, choose CONFIG_M here: the
	  module will be called pci200syn.

	  If unsure, say N.

config CONFIG_WANXL
	tristate "SBE Inc. wanXL support"
	depends on CONFIG_HDLC && CONFIG_PCI
	help
	  Driver for wanXL CONFIG_PCI cards by SBE Inc.

	  If you have such a card, say Y here and see
	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.

	  To compile this as a module, choose CONFIG_M here: the
	  module will be called wanxl.

	  If unsure, say N.

config CONFIG_WANXL_BUILD_FIRMWARE
	bool "rebuild wanXL firmware"
	depends on CONFIG_WANXL && !CONFIG_PREVENT_FIRMWARE_BUILD
	help
	  Allows you to rebuild firmware run by the QUICC processor.
	  It requires as68k, ld68k and hexdump programs.

	  You should never need this option, say N.

config CONFIG_PC300TOO
	tristate "Cyclades PC300 RSV/X21 alternative support"
	depends on CONFIG_HDLC && CONFIG_PCI
	help
	  Alternative driver for PC300 RSV/X21 CONFIG_PCI cards made by
	  Cyclades, Inc. If you have such a card, say Y here and see
	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.

	  To compile this as a module, choose CONFIG_M here: the module
	  will be called pc300too.

	  If unsure, say N here.

config CONFIG_N2
	tristate "SDL RISCom/N2 support"
	depends on CONFIG_HDLC && CONFIG_ISA
	help
	  Driver for RISCom/CONFIG_N2 single or dual channel CONFIG_ISA cards by
	  SDL Communications Inc.

	  If you have such a card, say Y here and see
	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.

	  Note that N2csu and N2dds cards are not supported by this driver.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called n2.

	  If unsure, say N.

config CONFIG_C101
	tristate "Moxa C101 support"
	depends on CONFIG_HDLC && CONFIG_ISA
	help
	  Driver for CONFIG_C101 SuperSync CONFIG_ISA cards by Moxa Technologies Co., Ltd.

	  If you have such a card, say Y here and see
	  <http://www.kernel.org/pub/linux/utils/net/hdlc/>.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called c101.

	  If unsure, say N.

config CONFIG_FARSYNC
	tristate "FarSync T-Series support"
	depends on CONFIG_HDLC && CONFIG_PCI
	---help---
	  Support for the FarSync T-Series X.21 (and V.35/V.24) cards by
	  FarSite Communications Ltd.

	  Synchronous communication is supported on all ports at speeds up to
	  8Mb/s (128K on V.24) using synchronous CONFIG_PPP, Cisco CONFIG_HDLC, raw CONFIG_HDLC,
	  Frame Relay or X.25/CONFIG_LAPB.

	  If you want the module to be automatically loaded when the interface
	  is referenced then you should add "alias hdlcX farsync" to a file
	  in /etc/modprobe.d/ for each interface, where X is 0, 1, 2, ..., or
	  simply use "alias hdlc* farsync" to indicate all of them.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called farsync.

config CONFIG_FSL_UCC_HDLC
	tristate "Freescale QUICC Engine HDLC support"
	depends on CONFIG_HDLC
	depends on CONFIG_QUICC_ENGINE
	help
	  Driver for Freescale QUICC Engine CONFIG_HDLC controller. The driver
	  supports CONFIG_HDLC in NMSI and TDM mode.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called fsl_ucc_hdlc.

config CONFIG_SLIC_DS26522
	tristate "Slic Maxim ds26522 card support"
	depends on CONFIG_SPI
	depends on CONFIG_FSL_SOC || CONFIG_ARCH_MXC || CONFIG_ARCH_LAYERSCAPE || CONFIG_COMPILE_TEST
	help
	  This module initializes and configures the slic maxim card
	  in T1 or CONFIG_E1 mode.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called slic_ds26522.

config CONFIG_DSCC4_PCISYNC
	bool "Etinc PCISYNC features"
	depends on CONFIG_DSCC4
	help
	  Due to Etinc's design choice for its PCISYNC cards, some operations
	  are only allowed on specific ports of the CONFIG_DSCC4. This option is the
	  only way for the driver to know that it shouldn't return a success
	  code for these operations.

	  Please say Y if your card is an Etinc's PCISYNC.

config CONFIG_DSCC4_PCI_RST
	bool "Hard reset support"
	depends on CONFIG_DSCC4
	help
	  Various CONFIG_DSCC4 bugs forbid any reliable software reset of the ASIC.
	  As a replacement, some vendors provide a way to assert the CONFIG_PCI #RST
	  pin of CONFIG_DSCC4 through the GPIO port of the card. If you choose Y,
	  the driver will make use of this feature before module removal
	  (i.e. rmmod). The feature is known to be available on Commtech's
	  cards. Contact your manufacturer for details.

	  Say Y if your card supports this feature.

config CONFIG_IXP4XX_HSS
	tristate "Intel IXP4xx HSS (synchronous serial port) support"
	depends on CONFIG_HDLC && CONFIG_ARM && CONFIG_ARCH_IXP4XX && CONFIG_IXP4XX_NPE && CONFIG_IXP4XX_QMGR
	help
	  Say Y here if you want to use built-in HSS ports
	  on IXP4xx processor.

config CONFIG_DLCI
	tristate "Frame Relay DLCI support"
	---help---
	  Support for the Frame Relay protocol.

	  Frame Relay is a fast low-cost way to connect to a remote Internet
	  access provider or to form a private wide area network. The one
	  physical line from your box to the local "switch" (i.e. the entry
	  point to the Frame Relay network, usually at the phone company) can
	  carry several logical point-to-point connections to other computers
	  connected to the Frame Relay network. For a general explanation of
	  the protocol, check out <http://www.mplsforum.org/>.

	  To use frame relay, you need supporting hardware (called FRAD) and
	  certain programs from the net-tools package as explained in
	  <file:Documentation/networking/framerelay.txt>.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called dlci.

config CONFIG_DLCI_MAX
	int "Max DLCI per device"
	depends on CONFIG_DLCI
	default "8"
	help
	  How many logical point-to-point frame relay connections (the
	  identifiers of which are called DCLIs) should be handled by each
	  of your hardware frame relay access devices.

	  Go with the default.

config CONFIG_SDLA
	tristate "SDLA (Sangoma S502/S508) support"
	depends on CONFIG_DLCI && CONFIG_ISA
	help
	  Driver for the Sangoma S502A, S502E, and S508 Frame Relay Access
	  Devices.

	  These are multi-protocol cards, but only Frame Relay is supported
	  by the driver at this time. Please read
	  <file:Documentation/networking/framerelay.txt>.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called sdla.

# X.25 network drivers
config CONFIG_LAPBETHER
	tristate "LAPB over Ethernet driver"
	depends on CONFIG_LAPB && CONFIG_X25
	---help---
	  Driver for a pseudo device (typically called /dev/lapb0) which allows
	  you to open an CONFIG_LAPB point-to-point connection to some other computer
	  on your Ethernet network.

	  In order to do this, you need to say Y or CONFIG_M to the driver for your
	  Ethernet card as well as to "LAPB Data Link Driver".

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called lapbether.

	  If unsure, say N.

config CONFIG_X25_ASY
	tristate "X.25 async driver"
	depends on CONFIG_LAPB && CONFIG_X25 && CONFIG_TTY
	---help---
	  Send and receive X.25 frames over regular asynchronous serial
	  lines such as telephone lines equipped with ordinary modems.

	  Experts should note that this driver doesn't currently comply with
	  the asynchronous HDLS framing protocols in CCITT recommendation X.25.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called x25_asy.

	  If unsure, say N.

config CONFIG_SBNI
	tristate "Granch SBNI12 Leased Line adapter support"
	depends on CONFIG_X86
	---help---
	  Driver for CONFIG_ISA SBNI12-xx cards which are low cost alternatives to
	  leased line modems.

	  You can find more information and last versions of drivers and
	  utilities at <http://www.granch.ru/>. If you have any question you
	  can send email to <sbni@granch.ru>.

	  To compile this driver as a module, choose CONFIG_M here: the
	  module will be called sbni.

	  If unsure, say N.

config CONFIG_SBNI_MULTILINE
	bool "Multiple line feature support"
	depends on CONFIG_SBNI
	help
	  Schedule traffic for some parallel lines, via SBNI12 adapters.

	  If you have two computers connected with two parallel lines it's
	  possible to increase transfer rate nearly twice. You should have
	  a program named 'sbniconfig' to configure adapters.

	  If unsure, say N.

endif # CONFIG_WAN