serial: samsung: Add unified interrupt handler for s3c64xx and later SoC's
authorThomas Abraham <thomas.abraham@linaro.org>
Wed, 10 Aug 2011 10:21:19 +0000 (15:51 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:48:31 +0000 (10:48 -0700)
commit88bb4ea14c72f89c5265029c1891e5eb6521cc0f
tree586608107cf9f69f214e252bb51013a11e1be734
parent47918f055851d3faae2a62d406b5d065b579a1a3
serial: samsung: Add unified interrupt handler for s3c64xx and later SoC's

s3c64xx and later SoC's include the interrupt mask and pending registers
in the uart controller, unlike the s3c24xx SoC's which have these registers
in the interrupt controller. When the mask and pending registers are part
of the uart controller, a unified interrupt handler can handle the tx/rx
interrupt. With this, the static reservation of interrupt numbers for the
uart tx/rx/err interrupts in the linux irq space is not required and
simplifies adding device tree support.

Suggested-by: Grant Likely <grant.likely@secretlab.ca>
CC: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/samsung.c
drivers/tty/serial/samsung.h