diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-25 08:47:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:00:58 -0400 |
commit | 9c5f4afdfbe72d5d1c814ad7286a4524d00c7b96 (patch) | |
tree | 7492a9533010d2016ff90a7372465edebcbb0d20 /arch/m68k/mac/psc.c | |
parent | 35353bb8b869f3a0a153d0674cdafbe4f64aaa05 (diff) |
[PATCH] m68k: convert mac irq code
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68k/mac/psc.c')
-rw-r--r-- | arch/m68k/mac/psc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/m68k/mac/psc.c b/arch/m68k/mac/psc.c index e72384e43a1e..e26218091755 100644 --- a/arch/m68k/mac/psc.c +++ b/arch/m68k/mac/psc.c | |||
@@ -117,10 +117,10 @@ void __init psc_init(void) | |||
117 | 117 | ||
118 | void __init psc_register_interrupts(void) | 118 | void __init psc_register_interrupts(void) |
119 | { | 119 | { |
120 | cpu_request_irq(3, psc_irq, IRQ_FLG_LOCK, "psc3", (void *) 0x30); | 120 | request_irq(IRQ_AUTO_3, psc_irq, 0, "psc3", (void *) 0x30); |
121 | cpu_request_irq(4, psc_irq, IRQ_FLG_LOCK, "psc4", (void *) 0x40); | 121 | request_irq(IRQ_AUTO_4, psc_irq, 0, "psc4", (void *) 0x40); |
122 | cpu_request_irq(5, psc_irq, IRQ_FLG_LOCK, "psc5", (void *) 0x50); | 122 | request_irq(IRQ_AUTO_5, psc_irq, 0, "psc5", (void *) 0x50); |
123 | cpu_request_irq(6, psc_irq, IRQ_FLG_LOCK, "psc6", (void *) 0x60); | 123 | request_irq(IRQ_AUTO_6, psc_irq, 0, "psc6", (void *) 0x60); |
124 | } | 124 | } |
125 | 125 | ||
126 | /* | 126 | /* |
@@ -149,7 +149,7 @@ irqreturn_t psc_irq(int irq, void *dev_id, struct pt_regs *regs) | |||
149 | for (i = 0, irq_bit = 1 ; i < 4 ; i++, irq_bit <<= 1) { | 149 | for (i = 0, irq_bit = 1 ; i < 4 ; i++, irq_bit <<= 1) { |
150 | if (events & irq_bit) { | 150 | if (events & irq_bit) { |
151 | psc_write_byte(pIER, irq_bit); | 151 | psc_write_byte(pIER, irq_bit); |
152 | mac_do_irq_list(base_irq + i, regs); | 152 | m68k_handle_int(base_irq + i, regs); |
153 | psc_write_byte(pIFR, irq_bit); | 153 | psc_write_byte(pIFR, irq_bit); |
154 | psc_write_byte(pIER, irq_bit | 0x80); | 154 | psc_write_byte(pIER, irq_bit | 0x80); |
155 | } | 155 | } |