]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
serial: export the key functions for an 8250 IRQ handler
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 4 Dec 2011 23:42:20 +0000 (18:42 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Dec 2011 03:14:13 +0000 (19:14 -0800)
commit3986fb2ba67bb30cac18b0cff48c88d69ad37681
treeca29a9b2338245a681a8956d94557a9022f38155
parent0690f41fddd285c3473e4af2a42d15bce7ff3e68
serial: export the key functions for an 8250 IRQ handler

For drivers that need to construct their own IRQ handler, the
three components are seen in the current handle_port -- i.e.
Rx, Tx and modem_status.

Make these exported symbols so that "almost" 8250 UARTs can
construct their own IRQ handler with these shared components,
while working around their own unique errata issues.

The function names are given a serial8250 prefix, since they
are now entering the global namespace.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250.c
include/linux/serial_8250.h