linux/drivers/tty
Jiri Slaby 7f0bc6a68e TTY: pass flags to alloc_tty_driver
We need to allow drivers that use neither tty_port_install nor
tty_port_register_device to link a tty_port to a tty somehow.  To
avoid a race with open, this has to be performed before
tty_register_device. But currently tty_driver->ports is allocated even
in tty_register_device because we do not know whether this is the PTY
driver. The PTY driver is special here due to an excessive count of
lines it declares to handle. We cannot handle tty_ports there this
way.

To circumvent this, we start passing tty_driver flags to
alloc_tty_driver already and we create tty_alloc_driver for this
purpose. There we can allocate tty_driver->ports and do all the magic
between tty_alloc_driver and tty_register_device. Later we will
introduce tty_port_link_device function for that purpose.

All drivers should eventually switch to this new tty driver allocation
interface.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-10 13:29:58 -07:00
..
hvc Merge tty-next into 3.6-rc1 2012-08-06 09:48:31 -07:00
ipwireless TTY: ipwireless, use tty from tty_port 2012-04-09 11:30:39 -07:00
serial TTY: 68328serial, fix compilation 2012-08-10 13:27:50 -07:00
vt vt: fix race in vt_waitactive() 2012-07-26 13:37:02 -07:00
amiserial.c tty: localise the lock 2012-08-10 12:55:47 -07:00
bfin_jtag_comm.c TTY: bfin_jtag_comm, use tty from tty_port 2012-04-09 11:28:18 -07:00
cyclades.c tty: localise the lock 2012-08-10 12:55:47 -07:00
ehv_bytechan.c TTY: remove re-assignments to tty_driver members 2012-03-08 11:37:58 -08:00
isicom.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
Kconfig tty/powerpc: early udbg consoles can't be modules 2012-02-24 16:11:50 -08:00
Makefile
moxa.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
moxa.h
mxser.c mxser: allow overlapping vector 2012-08-10 13:29:57 -07:00
mxser.h
n_gsm.c TTY: n_gsm, use tty_port_install 2012-08-10 13:27:50 -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 n_tty: Don't lose characters when PARMRK is enabled 2012-08-10 13:14:54 -07:00
nozomi.c TTY: remove re-assignments to tty_driver members 2012-03-08 11:37:58 -08:00
pty.c TTY: pty, stop passing NULL to free_tty_struct 2012-08-10 13:27:50 -07:00
rocket_int.h
rocket.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00
rocket.h
synclink_gt.c tty: localise the lock 2012-08-10 12:55:47 -07:00
synclink.c tty: localise the lock 2012-08-10 12:55:47 -07:00
synclinkmp.c tty: localise the lock 2012-08-10 12:55:47 -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: pass flags to alloc_tty_driver 2012-08-10 13:29:58 -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: localise the lock 2012-08-10 12:55:47 -07:00