TTY cleanups and pre-requisites for the lock handling change. Resending as it seems these got lost given the stuff before and after them is already applied (including stuff in -next that depends on these). Rebased versus the current tree and to resolve tty_port change conflicts. --- Alan Cox (10): tty: Move the handling of the tty release logic vt: fix the keyboard/led locking tty: tidy up the RESET_TERMIOS case tty: move the termios object into the tty 8250: add support for ASIX devices with a FIFO bug 8250: propogate the bugs field 8250: use the 8250 register interface not the legacy one usb, kobil: Sort out some bogus tty handling usb: fix sillies in the metro USB driver f81232: correct stubbed termios handler arch/ia64/hp/sim/simserial.c | 2 - drivers/bluetooth/hci_ath.c | 2 - drivers/mmc/card/sdio_uart.c | 20 +++-- drivers/net/irda/irtty-sir.c | 10 +-- drivers/net/usb/hso.c | 12 +-- drivers/tty/amiserial.c | 20 +++-- drivers/tty/cyclades.c | 19 ++--- drivers/tty/hvc/hvsi_lib.c | 2 - drivers/tty/isicom.c | 8 +- drivers/tty/moxa.c | 10 +-- drivers/tty/mxser.c | 20 +++-- drivers/tty/n_gsm.c | 8 +- drivers/tty/n_tty.c | 2 - drivers/tty/pty.c | 35 ++------- drivers/tty/rocket.c | 18 ++--- drivers/tty/serial/8250/8250.c | 80 ++++++++------------- drivers/tty/serial/8250/8250.h | 1 drivers/tty/serial/8250/8250_acorn.c | 22 +++--- drivers/tty/serial/8250/8250_dw.c | 38 +++++----- drivers/tty/serial/8250/8250_gsc.c | 26 +++---- drivers/tty/serial/8250/8250_hp300.c | 26 +++---- drivers/tty/serial/8250/8250_pci.c | 116 ++++++++++++++++++------------- drivers/tty/serial/8250/8250_pnp.c | 28 ++++--- drivers/tty/serial/8250/serial_cs.c | 30 ++++---- drivers/tty/serial/bfin_uart.c | 2 - drivers/tty/serial/crisv10.c | 26 +++---- drivers/tty/serial/ioc4_serial.c | 2 - drivers/tty/serial/jsm/jsm_tty.c | 8 +- drivers/tty/serial/samsung.c | 2 - drivers/tty/serial/serial_core.c | 28 ++++--- drivers/tty/synclink.c | 36 +++++----- drivers/tty/synclink_gt.c | 24 +++--- drivers/tty/synclinkmp.c | 24 +++--- drivers/tty/tty_io.c | 77 ++++++++------------ drivers/tty/tty_ioctl.c | 124 +++++++++++++++++---------------- drivers/tty/tty_ldisc.c | 10 +-- drivers/tty/tty_port.c | 6 +- drivers/tty/vt/keyboard.c | 41 ++++++----- drivers/tty/vt/vt.c | 5 + drivers/usb/class/cdc-acm.c | 2 - drivers/usb/serial/ark3116.c | 4 + drivers/usb/serial/belkin_sa.c | 2 - drivers/usb/serial/cp210x.c | 8 +- drivers/usb/serial/cypress_m8.c | 40 +++++------ drivers/usb/serial/digi_acceleport.c | 14 ++-- drivers/usb/serial/empeg.c | 2 - drivers/usb/serial/f81232.c | 3 + drivers/usb/serial/ftdi_sio.c | 2 - drivers/usb/serial/io_edgeport.c | 12 ++- drivers/usb/serial/io_ti.c | 12 ++- drivers/usb/serial/ir-usb.c | 2 - drivers/usb/serial/iuu_phoenix.c | 28 ++++--- drivers/usb/serial/keyspan.c | 6 +- drivers/usb/serial/keyspan_pda.c | 4 + drivers/usb/serial/kl5kusb105.c | 18 ++--- drivers/usb/serial/kobil_sct.c | 14 ++-- drivers/usb/serial/mct_u232.c | 4 + drivers/usb/serial/metro-usb.c | 8 -- drivers/usb/serial/mos7720.c | 14 ++-- drivers/usb/serial/mos7840.c | 12 ++- drivers/usb/serial/oti6858.c | 10 +-- drivers/usb/serial/pl2303.c | 6 +- drivers/usb/serial/quatech2.c | 4 + drivers/usb/serial/sierra.c | 2 - drivers/usb/serial/spcp8x5.c | 12 ++- drivers/usb/serial/ssu100.c | 4 + drivers/usb/serial/ti_usb_3410_5052.c | 10 +-- drivers/usb/serial/usb-serial.c | 5 + drivers/usb/serial/usb_wwan.c | 2 - drivers/usb/serial/whiteheat.c | 2 - include/linux/kbd_kern.h | 1 include/linux/serial_8250.h | 1 include/linux/tty.h | 47 ++++++------- include/linux/tty_driver.h | 11 +-- net/bluetooth/rfcomm/tty.c | 2 - net/irda/ircomm/ircomm_tty.c | 12 ++- net/irda/ircomm/ircomm_tty_ioctl.c | 10 +-- 77 files changed, 637 insertions(+), 685 deletions(-) -- -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html