diff options
Diffstat (limited to 'arch/sh/cchips/hd6446x/hd64461.c')
-rw-r--r-- | arch/sh/cchips/hd6446x/hd64461.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/sh/cchips/hd6446x/hd64461.c b/arch/sh/cchips/hd6446x/hd64461.c index 97f6512aa1b7..b77754d9697a 100644 --- a/arch/sh/cchips/hd6446x/hd64461.c +++ b/arch/sh/cchips/hd6446x/hd64461.c | |||
@@ -14,6 +14,9 @@ | |||
14 | #include <asm/irq.h> | 14 | #include <asm/irq.h> |
15 | #include <asm/hd64461.h> | 15 | #include <asm/hd64461.h> |
16 | 16 | ||
17 | /* This belongs in cpu specific */ | ||
18 | #define INTC_ICR1 0xA4140010UL | ||
19 | |||
17 | static void disable_hd64461_irq(unsigned int irq) | 20 | static void disable_hd64461_irq(unsigned int irq) |
18 | { | 21 | { |
19 | unsigned short nimr; | 22 | unsigned short nimr; |
@@ -121,7 +124,7 @@ int hd64461_irq_demux(int irq) | |||
121 | } | 124 | } |
122 | } | 125 | } |
123 | } | 126 | } |
124 | return __irq_demux(irq); | 127 | return irq; |
125 | } | 128 | } |
126 | 129 | ||
127 | static struct irqaction irq0 = { hd64461_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "HD64461", NULL, NULL }; | 130 | static struct irqaction irq0 = { hd64461_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "HD64461", NULL, NULL }; |
@@ -143,6 +146,7 @@ int __init setup_hd64461(void) | |||
143 | #endif | 146 | #endif |
144 | outw(0xffff, HD64461_NIMR); | 147 | outw(0xffff, HD64461_NIMR); |
145 | 148 | ||
149 | /* IRQ 80 -> 95 belongs to HD64461 */ | ||
146 | for (i = HD64461_IRQBASE; i < HD64461_IRQBASE + 16; i++) { | 150 | for (i = HD64461_IRQBASE; i < HD64461_IRQBASE + 16; i++) { |
147 | irq_desc[i].chip = &hd64461_irq_type; | 151 | irq_desc[i].chip = &hd64461_irq_type; |
148 | } | 152 | } |