diff options
author | Vikram Pandita <vikram.pandita@ti.com> | 2009-09-19 16:13:19 -0400 |
---|---|---|
committer | Live-CD User <linux@linux.site> | 2009-09-19 16:13:19 -0400 |
commit | 1c2f04937b3e397a5695953c6b82aa4c77d21eb8 (patch) | |
tree | 8ccc7300fcc3fb4f3824575a7e7c47a4f3f366ba /drivers/serial/8250.h | |
parent | 1e066d803ab7e34e9efb3b0766d618c0cd2598e4 (diff) |
serial: 8250: add IRQ trigger support
There is currently no provision for passing IRQ trigger flags for
serial IRQs with triggering requirements (such as GPIO IRQs)
This patch adds irqflags to plat_serial8250_port that can be passed
from board file to reqest_irq() of 8250 driver
Changes are backward compatible with boards passing UPF_SHARE_IRQ flag
Tested on Zoom2 board that has IRQF_TRIGGER_RISING requirement for 8250 irq
[Moved new flag to end to fix bugs in the original with the old_serial array
-- Alan]
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/8250.h')
-rw-r--r-- | drivers/serial/8250.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/8250.h b/drivers/serial/8250.h index 520260326f3d..6e19ea3e48d5 100644 --- a/drivers/serial/8250.h +++ b/drivers/serial/8250.h | |||
@@ -25,6 +25,7 @@ struct old_serial_port { | |||
25 | unsigned char io_type; | 25 | unsigned char io_type; |
26 | unsigned char *iomem_base; | 26 | unsigned char *iomem_base; |
27 | unsigned short iomem_reg_shift; | 27 | unsigned short iomem_reg_shift; |
28 | unsigned long irqflags; | ||
28 | }; | 29 | }; |
29 | 30 | ||
30 | /* | 31 | /* |