Skip to content

Commit e1eaea4

Browse files
Alan Coxgregkh
Alan Cox
authored andcommitted
tty: n_gsm line discipline
Add an implementation of GSM 0710 MUX. The implementation currently supports - Basic and advanced framing (as either end of the link) - UI or UIH data frames - Adaption layer 1-4 (1 and 2 via tty, 3 and 4 as skbuff lists) - Modem and control messages including the correct retry process - Flow control and exposes the MUX channels as a set of virtual tty devices including modem signals. This is an experimental driver. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1ff454e commit e1eaea4

File tree

5 files changed

+2798
-1
lines changed

5 files changed

+2798
-1
lines changed

drivers/char/Kconfig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,18 @@ config N_HDLC
276276
Allows synchronous HDLC communications with tty device drivers that
277277
support synchronous HDLC such as the Microgate SyncLink adapter.
278278

279-
This driver can only be built as a module ( = code which can be
279+
This driver can be built as a module ( = code which can be
280280
inserted in and removed from the running kernel whenever you want).
281281
The module will be called n_hdlc. If you want to do that, say M
282282
here.
283283

284+
config N_GSM
285+
tristate "GSM MUX line discipline support (EXPERIMENTAL)"
286+
depends on EXPERIMENTAL
287+
help
288+
This line discipline provides support for the GSM MUX protocol and
289+
presents the mux as a set of 61 individual tty devices.
290+
284291
config RISCOM8
285292
tristate "SDL RISCom/8 card support"
286293
depends on SERIAL_NONSTANDARD

drivers/char/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ obj-$(CONFIG_SYNCLINK) += synclink.o
4040
obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
4141
obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o
4242
obj-$(CONFIG_N_HDLC) += n_hdlc.o
43+
obj-$(CONFIG_N_GSM) += n_gsm.o
4344
obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
4445
obj-$(CONFIG_SX) += sx.o generic_serial.o
4546
obj-$(CONFIG_RIO) += rio/ generic_serial.o

0 commit comments

Comments
 (0)