linux/drivers/usb/serial
Alan Cox 95da310e66 usb_serial: API all change
USB serial likes to use port->tty back pointers for the real work it does and
to do so without any actual locking. Unfortunately when you consider hangup
events, hangup/parallel reopen or even worse hangup followed by parallel close
events the tty->port and port->tty pointers are not guaranteed to be the same
as port->tty is the active tty while tty->port is the port the tty may or
may not still be attached to.

So rework the entire API to pass the tty struct. For console cases we need
to pass both for now. This shows up multiple drivers that immediately crash
with USB console some of which have been fixed in the process.

Longer term we need a proper tty as console abstraction

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-22 13:03:22 -07:00
..
ChangeLog.history
Kconfig USB: delete airprime driver 2008-07-21 15:16:31 -07:00
Makefile USB: delete airprime driver 2008-07-21 15:16:31 -07:00
Makefile-keyspan_pda_fw
aircable.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
airprime.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ark3116.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
belkin_sa.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
belkin_sa.h
bus.c
ch341.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
console.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
cp2101.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
cyberjack.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
cypress_m8.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
cypress_m8.h USB: cypress_m8: add UPS Powercom (0d9f:0002) 2008-03-10 16:42:25 -07:00
digi_acceleport.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
empeg.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ezusb.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
ezusb_convert.pl
ftdi_sio.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ftdi_sio.h USB: New device ID for ftdi_sio driver 2008-07-03 18:20:37 -07:00
funsoft.c USB: serial: remove unneeded number endpoints settings 2008-04-24 21:16:52 -07:00
garmin_gps.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
generic.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
hp4x.c USB: serial: remove unneeded number endpoints settings 2008-04-24 21:16:52 -07:00
io_16654.h
io_edgeport.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
io_edgeport.h
io_ionsp.h
io_tables.h USB: serial: remove unneeded number endpoints settings 2008-04-24 21:16:52 -07:00
io_ti.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
io_ti.h
io_usbvend.h
ipaq.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ipaq.h
ipw.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ir-usb.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
iuu_phoenix.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
iuu_phoenix.h
keyspan.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
keyspan.h usb_serial: API all change 2008-07-22 13:03:22 -07:00
keyspan_pda.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
kl5kusb105.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
kl5kusb105.h
kobil_sct.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
kobil_sct.h
mct_u232.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
mct_u232.h
mos7720.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
mos7840.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
moto_modem.c USB: add new moto_modem driver for some Morotola phones 2008-05-14 10:00:25 -07:00
navman.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
omninet.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
option.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
oti6858.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
oti6858.h
pl2303.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
pl2303.h USB: add a pl2303 device id 2008-07-03 18:20:38 -07:00
safe_serial.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
sierra.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
spcp8x5.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ti_usb_3410_5052.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
ti_usb_3410_5052.h
usb-serial.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
usb_debug.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
visor.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
visor.h
whiteheat.c usb_serial: API all change 2008-07-22 13:03:22 -07:00
whiteheat.h