tmp_suning_uos_patched/include/linux/usb
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
..
association.h
atmel_usba_udc.h
audio.h
c67x00.h
cdc.h
ch9.h
composite.h usb gadget: composite gadget core 2008-07-21 15:16:01 -07:00
g_printer.h
gadget.h USB Gadget: documentation update 2008-07-21 15:16:27 -07:00
gadgetfs.h
input.h
iowarrior.h
irda.h usb: irda: cleanup on ir-usb module 2008-07-21 15:16:27 -07:00
isp116x.h
Kbuild
midi.h
net2280.h
otg.h
quirks.h
rndis_host.h rndis_host: pass buffer length to rndis_command 2008-06-28 10:23:34 -04:00
serial.h usb_serial: API all change 2008-07-22 13:03:22 -07:00
sl811.h
usbnet.h