OSDN Git Service

tty: serial8250: allow platforms to override irq handler
authorJamie Iles <jamie@jamieiles.com>
Mon, 15 Aug 2011 09:17:52 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:52:59 +0000 (10:52 -0700)
commit583d28e92f667eb6cc81ea87daaa7e321c23fe14
tree69527bccf43c08d4aee538bc8b4469368908f9cb
parenta74036f51272975e9538e80cd1bb64dce164b208
tty: serial8250: allow platforms to override irq handler

Some ports (e.g. Synopsys DesignWare 8250) have special requirements for
handling the interrupts.  Allow these platforms to specify their own
interrupt handler that will override the default.
serial8250_handle_irq() is provided so that platforms can extend the IRQ
handler rather than completely replacing it.

Signed-off-by: Jamie Iles <jamie@jamieiles.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