summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/amigaints.h
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2006-06-25 05:47:01 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 10:00:57 -0700
commit74be8d0835f91f0f77a2f1554dfa7242f1f7b652 (patch)
tree8a761fdba6a921bad34a9f87ed4af4e336c05e55 /include/asm-m68k/amigaints.h
parent68387c448b7f2b3e2bfa0f606391cd3b602b1997 (diff)
downloadop-kernel-dev-74be8d0835f91f0f77a2f1554dfa7242f1f7b652.zip
op-kernel-dev-74be8d0835f91f0f77a2f1554dfa7242f1f7b652.tar.gz
[PATCH] m68k: convert amiga 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 'include/asm-m68k/amigaints.h')
-rw-r--r--include/asm-m68k/amigaints.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-m68k/amigaints.h b/include/asm-m68k/amigaints.h
index 576f5d1..7c87134 100644
--- a/include/asm-m68k/amigaints.h
+++ b/include/asm-m68k/amigaints.h
@@ -37,8 +37,8 @@
#define IRQ_AMIGA_SOFT (IRQ_USER+2)
/* interrupts from external hardware */
-#define IRQ_AMIGA_PORTS (IRQ_USER+3)
-#define IRQ_AMIGA_EXTER (IRQ_USER+13)
+#define IRQ_AMIGA_PORTS IRQ_AUTO_2
+#define IRQ_AMIGA_EXTER IRQ_AUTO_6
/* copper interrupt */
#define IRQ_AMIGA_COPPER (IRQ_USER+4)
@@ -88,9 +88,6 @@
#define IF_DSKBLK 0x0002 /* diskblock DMA finished */
#define IF_TBE 0x0001 /* serial transmit buffer empty interrupt */
-extern void amiga_do_irq(int irq, struct pt_regs *fp);
-extern void amiga_do_irq_list(int irq, struct pt_regs *fp);
-
/* CIA interrupt control register bits */
#define CIA_ICR_TA 0x01
@@ -107,6 +104,7 @@ extern void amiga_do_irq_list(int irq, struct pt_regs *fp);
extern struct ciabase ciaa_base, ciab_base;
+extern void cia_init_IRQ(struct ciabase *base);
extern unsigned char cia_set_irq(struct ciabase *base, unsigned char mask);
extern unsigned char cia_able_irq(struct ciabase *base, unsigned char mask);
OpenPOWER on IntegriCloud