2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/usb/serial
Alan Cox f34d7a5b70 tty: The big operations rework
- Operations are now a shared const function block as with most other Linux
  objects

- Introduce wrappers for some optional functions to get consistent behaviour

- Wrap put_char which used to be patched by the tty layer

- Document which functions are needed/optional

- Make put_char report success/fail

- Cache the driver->ops pointer in the tty as tty->ops

- Remove various surplus lock calls we no longer need

- Remove proc_write method as noted by Alexey Dobriyan

- Introduce some missing sanity checks where certain driver/ldisc
  combinations would oops as they didn't check needed methods were present

[akpm@linux-foundation.org: fix fs/compat_ioctl.c build]
[akpm@linux-foundation.org: fix isicom]
[akpm@linux-foundation.org: fix arch/ia64/hp/sim/simserial.c build]
[akpm@linux-foundation.org: fix kgdb]
Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-30 08:29:47 -07:00
..
aircable.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
airprime.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
ark3116.c usb serial: more fixes and groundwork for tty changes 2008-04-24 21:16:55 -07:00
belkin_sa.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
belkin_sa.h
bus.c usb-serial: show port number in sysfs 2007-10-12 14:55:20 -07:00
ch341.c USB: serial: remove unneeded number endpoints settings 2008-04-24 21:16:52 -07:00
ChangeLog.history Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
console.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
cp2101.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
cyberjack.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
cypress_m8.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
cypress_m8.h USB: cypress_m8: add UPS Powercom (0d9f:0002) 2008-03-10 16:42:25 -07:00
digi_acceleport.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
empeg.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
ezusb_convert.pl
ezusb.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
ftdi_sio.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
ftdi_sio.h USB: new ftdi_sio device id 2008-03-10 16:42:27 -07:00
funsoft.c USB: serial: remove unneeded number endpoints settings 2008-04-24 21:16:52 -07:00
garmin_gps.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
generic.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -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 drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
io_edgeport.h USB: io_edgeport: Convert to generic boolean 2007-04-27 13:28:36 -07:00
io_fw_boot2.h
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h USB: io_ti: Digi EdgePort update for new devices 2007-07-12 16:29:48 -07:00
io_fw_down.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: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
io_ti.h
io_usbvend.h USB: io_ti: Digi EdgePort update for new devices 2007-07-12 16:29:48 -07:00
ipaq.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
ipaq.h
ipw.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
ir-usb.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
iuu_phoenix.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
iuu_phoenix.h USB: add iuu_phoenix driver 2008-02-01 14:34:47 -08:00
Kconfig USB: Remove superfluous "depends on USB_SERIAL" from Kconfig. 2008-04-24 21:16:50 -07:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa67msg.h USB Serial Keyspan: add support for USA-49WG & USA-28XG 2007-07-12 16:29:45 -07:00
keyspan_usa90msg.h
keyspan.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
keyspan.h USB: serial: remove unneeded number endpoints settings 2008-04-24 21:16:52 -07:00
kl5kusb105.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
kl5kusb105.h
kobil_sct.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
kobil_sct.h
Makefile USB: add usb-serial spcp8x5 driver 2008-04-24 21:16:44 -07:00
Makefile-keyspan_pda_fw
mct_u232.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
mct_u232.h USB: mct232: speed, new termios and compliance cleanups 2008-02-01 14:34:56 -08:00
mos7720.c usb serial: more fixes and groundwork for tty changes 2008-04-24 21:16:55 -07:00
mos7840.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
navman.c usb serial: more fixes and groundwork for tty changes 2008-04-24 21:16:55 -07:00
omninet.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
option.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
oti6858.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
oti6858.h USB: oti6858 usb-serial driver (in Nokia CA-42 cable) 2007-07-12 16:29:47 -07:00
pl2303.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
pl2303.h USB: pl2303: another product ID 2008-03-24 22:26:14 -07:00
safe_serial.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
sierra.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
spcp8x5.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
ti_usb_3410_5052.h
usb_debug.c USB: serial: remove unneeded number endpoints settings 2008-04-24 21:16:52 -07:00
usb-serial.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
visor.c USB: remove unnecessary type casting of urb->context 2008-04-24 21:16:55 -07:00
visor.h USB: visor add ACER S10 palm device id 2007-08-22 14:27:43 -07:00
whiteheat_fw.h
whiteheat.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
whiteheat.h USB: whiteheat: Convert to generic boolean 2007-04-27 13:28:39 -07:00
xircom_pgs_fw.h
xircom_pgs.S