aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/hw_irq.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2007-07-18 04:51:24 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-19 23:18:20 -0400
commit1b06428ee56fadedd004bfc5e3fbb39fb8c99010 (patch)
treeeb31c81f6b885ce06eabb547ddfcea097013f9c7 /include/asm-sh/hw_irq.h
parent02ab3f70791f7d5c9098acaa31a72dd7d0961cb0 (diff)
sh: intc - add support for 7722 processor
This patch converts the cpu specific 7722 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(). 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/hw_irq.h b/include/asm-sh/hw_irq.h
index 34ff8c7cfb55..6c21cf0dd51f 100644
--- a/include/asm-sh/hw_irq.h
+++ b/include/asm-sh/hw_irq.h
@@ -105,7 +105,7 @@ struct intc_desc {
105#define _INTC_ARRAY(a) a, sizeof(a)/sizeof(*a) 105#define _INTC_ARRAY(a) a, sizeof(a)/sizeof(*a)
106#define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \ 106#define DECLARE_INTC_DESC(symbol, chipname, vectors, groups, \
107 priorities, mask_regs, prio_regs, sense_regs) \ 107 priorities, mask_regs, prio_regs, sense_regs) \
108static struct intc_desc symbol = { \ 108struct intc_desc symbol = { \
109 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \ 109 _INTC_ARRAY(vectors), _INTC_ARRAY(groups), \
110 _INTC_ARRAY(priorities), \ 110 _INTC_ARRAY(priorities), \
111 _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \ 111 _INTC_ARRAY(mask_regs), _INTC_ARRAY(prio_regs), \