linux/drivers/tty
xiaojin 7e8ac7b23b n_gsm.c: Implement 3GPP27.010 DLC start-up procedure in MUX
In 3GPP27.010 5.8.1, it defined:
The TE multiplexer initiates the establishment of the multiplexer control channel by sending a SABM frame on DLCI 0 using the procedures of clause 5.4.1.
Once the multiplexer channel is established other DLCs may be established using the procedures of clause 5.4.1.
This patch implement 5.8.1 in MUX level, it make sure DLC0 is the first channel to be setup.

[or for those not familiar with the specification: it was possible to try
 and open a data connection while the control channel was not yet fully
 open, which is a spec violation and confuses some modems]

Signed-off-by: xiaojin <jin.xiao@intel.com>
Tested-by: Yin, Fengwei <fengwei.yin@intel.com>
[tweaked the order we check things and error code]
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: The Horsebox <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-16 12:02:26 -07:00
..
hvc TTY: hvcs, add tty install 2012-08-13 16:53:14 -07:00
ipwireless TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
serial 8250: add AgeStar AS-PRS2-009 2012-08-16 11:53:14 -07:00
vt vt: fix race in vt_waitactive() 2012-07-26 13:37:02 -07:00
amiserial.c TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
bfin_jtag_comm.c TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
cyclades.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
ehv_bytechan.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
isicom.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
Kconfig tty/powerpc: early udbg consoles can't be modules 2012-02-24 16:11:50 -08:00
Makefile tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver 2011-08-23 10:32:56 -07:00
moxa.c drivers/tty/moxa.c: fix error return code 2012-08-15 15:19:10 -07:00
moxa.h
mxser.c TTY: mxser, fix invalid module_parm permissions 2012-08-13 16:57:58 -07:00
mxser.h
n_gsm.c n_gsm.c: Implement 3GPP27.010 DLC start-up procedure in MUX 2012-08-16 12:02:26 -07:00
n_hdlc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
n_r3964.c tty: localise the lock 2012-08-10 12:55:47 -07:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c Remove BUG_ON from n_tty_read() 2012-08-16 11:53:14 -07:00
nozomi.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
pty.c TTY: pty, switch to tty_alloc_driver 2012-08-13 16:45:38 -07:00
rocket_int.h
rocket.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
rocket.h
synclink_gt.c TTY: use tty_port_register_device 2012-08-13 16:50:19 -07:00
synclink.c TTY: synclink, add tty install 2012-08-13 16:53:13 -07:00
synclinkmp.c TTY: synclinkmp, add tty install 2012-08-13 16:53:14 -07:00
sysrq.c sysrq: use SEND_SIG_FORCED instead of force_sig() 2012-04-05 15:25:50 -07:00
tty_audit.c
tty_buffer.c tty: hold lock across tty buffer finding and buffer filling 2012-04-09 12:12:45 -07:00
tty_io.c TTY: move cdev_add to tty_register_device 2012-08-13 16:45:39 -07:00
tty_ioctl.c tty: Fix up PPC fallout from the termios move 2012-07-17 09:10:55 -07:00
tty_ldisc.c tty: localise the lock 2012-08-10 12:55:47 -07:00
tty_mutex.c tty: localise the lock 2012-08-10 12:55:47 -07:00
tty_port.c TTY: add tty_port_link_device 2012-08-13 16:50:19 -07:00