1
0
Fork 0
alistair23-linux/drivers/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
..
cpm_uart [POWERPC] cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms. 2008-04-17 01:01:36 -05:00
jsm jsm: Remove further unneeded crud 2007-10-17 08:42:52 -07:00
8250.c serial 8250: tighten test for using backup timer 2008-04-28 08:58:30 -07:00
8250.h
8250_accent.c
8250_acorn.c [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
8250_boca.c
8250_early.c 8250_early: coding style 2008-02-08 09:22:25 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_gsc.c 8250_gsc: coding style 2008-02-08 09:22:25 -08:00
8250_hp300.c 8250_hp300: coding style 2008-02-08 09:22:25 -08:00
8250_hub6.c 8250_hub6: codding style 2008-02-08 09:22:25 -08:00
8250_mca.c
8250_pci.c serial: silence section mismatch warnings in 8250_pci 2008-04-28 08:58:29 -07:00
8250_pnp.c serial: add PNP ID GVC0303 for Archtek 3334BRV ISA modem 2008-03-04 16:35:09 -08:00
21285.c [ARM] 21285 serial: fix build error 2008-02-04 13:14:06 +00:00
68328serial.c serial m68k: put_char returns 2008-04-30 08:29:45 -07:00
68328serial.h
68360serial.c serial m68k: put_char returns 2008-04-30 08:29:45 -07:00
Kconfig Blackfin serial driver: this driver enable SPORTs on Blackfin emulate UART 2008-04-30 08:29:30 -07:00
Makefile Blackfin serial driver: this driver enable SPORTs on Blackfin emulate UART 2008-04-30 08:29:30 -07:00
amba-pl010.c [ARM] Fix 4417/1: Serial: Fix AMBA drivers locking 2007-06-05 19:39:49 +01:00
amba-pl011.c kgdb: kgdboc pl011 I/O module 2008-04-17 20:05:39 +02:00
atmel_serial.c atmel_serial: remove duplicated macro definition 2008-04-28 08:58:30 -07:00
bfin_5xx.c Blackfin Serial Driver: fix bug - use mod_timer to replace only add_timer. 2008-04-25 04:36:47 +08:00
bfin_sport_uart.c Blackfin serial driver: this driver enable SPORTs on Blackfin emulate UART 2008-04-30 08:29:30 -07:00
bfin_sport_uart.h Blackfin serial driver: this driver enable SPORTs on Blackfin emulate UART 2008-04-30 08:29:30 -07:00
clps711x.c
crisv10.c tty/serial: lay the foundations for the next set of reworks 2008-04-30 08:29:45 -07:00
crisv10.h CRISv10 serial driver rewrite 2007-11-14 18:45:46 -08:00
dz.c dz: test after postfix decrement fails in dz_console_putchar() 2008-04-28 08:58:16 -07:00
dz.h dz: clean up and improve the setup of termios settings 2008-02-07 08:42:24 -08:00
icom.c kobject: convert icom to use kref, not kobject 2008-01-24 20:40:09 -08:00
icom.h Coding style fix drivers/serial/icom.h 2008-02-03 14:47:38 +02:00
imx.c Merge branch 'merge-fixes' into devel 2008-04-19 17:17:34 +01:00
ioc3_serial.c
ioc4_serial.c
ip22zilog.c IP22ZILOG: fix lockup and sysrq 2007-11-29 09:24:53 -08:00
ip22zilog.h
kgdboc.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
m32r_sio.c drivers/serial/m32r_sio.c: correct use of ! and & 2008-03-04 16:35:16 -08:00
m32r_sio.h m32r: serial: remove M32R_SIO_SHARE_IRQS 2007-10-16 09:43:04 -07:00
m32r_sio_reg.h
mcf.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
mcfserial.c serial m68k: put_char returns 2008-04-30 08:29:45 -07:00
mcfserial.h
mpc52xx_uart.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
mpsc.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
mux.c drivers/serial/: Spelling fixes 2008-02-03 17:29:25 +02:00
netx-serial.c tty/serial: lay the foundations for the next set of reworks 2008-04-30 08:29:45 -07:00
of_serial.c [POWERPC] Xilinx: of_serial support for Xilinx uart 16550. 2008-04-24 13:32:46 -05:00
pmac_zilog.c [POWERPC] Optionally use new device number for pmac_zilog 2007-09-22 14:49:21 +10:00
pmac_zilog.h
pnx8xxx_uart.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
pxa.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
s3c2410.c [ARM] serial: s3c2410: platform_get_irq() may return signed unnoticed 2008-04-28 21:24:45 +01:00
sa1100.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
sb1250-duart.c BCM1480 serial build fix 2007-09-11 17:21:19 -07:00
sc26xx.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
serial_core.c tty: The big operations rework 2008-04-30 08:29:47 -07:00
serial_cs.c pcmcia: replace kio_addr_t with unsigned int everywhere 2008-02-05 09:44:08 -08:00
serial_ks8695.c [ARM] 4411/1: KS8695: Another serial driver fix 2007-05-30 13:15:19 +01:00
serial_lh7a40x.c
serial_txx9.c serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh-sci.c sh: Add support for SH7723 CPU subtype. 2008-04-18 09:50:07 -07:00
sh-sci.h sh: Add support for SH7723 CPU subtype. 2008-04-18 09:50:07 -07:00
sn_console.c sn_console section mismatch warning 2007-07-16 09:05:53 -07:00
suncore.c [SERIAL]: Fix section mismatches in Sun serial console drivers. 2007-12-29 01:19:49 -08:00
suncore.h [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunhv.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunsab.h
sunsu.c [SERIAL] sparc: Infrastructure to fix section mismatch bugs. 2007-12-12 07:36:34 -08:00
sunzilog.c sparc: sunzilog.c remove unused argument 2008-04-26 23:10:19 -07:00
sunzilog.h [SERIAL] sunzilog: Interrupt enable before ISR handler installed 2007-05-09 13:49:04 -07:00
uartlite.c serial: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
ucc_uart.c [POWERPC] QE: UCC nodes cleanup 2008-04-17 01:01:38 -05:00
v850e_uart.c
vr41xx_siu.c serial: add vr41xx_siu_early_setup() for serial console 2008-04-28 08:58:30 -07:00
zs.c zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00
zs.h zs: move to the serial subsystem 2007-07-18 08:38:22 -07:00