aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/hw_irq.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-07-19 23:10:29 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-19 23:18:21 -0400
commit39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb (patch)
tree4effb54c779136032f35acddc620077abcb4cd9c /include/asm-sh/hw_irq.h
parent680c45981ae2b4029878806d76aa17bb62d3c674 (diff)
sh: intc - add support for 7780
This patch converts the cpu specific 7780 setup code to use the new intc controller. Many new vectors are added and also support for external interrupt sense configuration. So with this patch it is now possible to configure external interrupt pins as edge or level triggered using set_irq_type(). No external interrupts are registered by default. Use plat_irq_setup_pins() to select between IRQ or IRL mode. This patch also fixes the Alarm IRQ for the RTC. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/hw_irq.h')
-rw-r--r--include/asm-sh/hw_irq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sh/hw_irq.h b/include/asm-sh/hw_irq.h
index 92c9efd9276c..8c5e11b3ae30 100644
--- a/include/asm-sh/hw_irq.h
+++ b/include/asm-sh/hw_irq.h
@@ -115,4 +115,7 @@ void __init register_intc_controller(struct intc_desc *desc);
115 115
116void __init plat_irq_setup(void); 116void __init plat_irq_setup(void);
117 117
118enum { IRQ_MODE_IRQ, IRQ_MODE_IRL7654, IRQ_MODE_IRL3210 };
119void __init plat_irq_setup_pins(int mode);
120
118#endif /* __ASM_SH_HW_IRQ_H */ 121#endif /* __ASM_SH_HW_IRQ_H */