patch-2.1.124 linux/include/asm-ppc/irq.h
Next file: linux/include/asm-ppc/linux_logo.h
Previous file: linux/include/asm-ppc/io.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Wed Sep 30 10:14:33 1998
- Orig file:
v2.1.123/linux/include/asm-ppc/irq.h
- Orig date:
Thu Aug 6 14:06:33 1998
diff -u --recursive --new-file v2.1.123/linux/include/asm-ppc/irq.h linux/include/asm-ppc/irq.h
@@ -8,7 +8,11 @@
#ifndef CONFIG_8xx
#ifdef CONFIG_APUS
+#define enable_irq m68k_enable_irq
+#define disable_irq m68k_disable_irq
#include <asm-m68k/irq.h>
+#undef enable_irq
+#undef disable_irq
#else /* CONFIG_APUS */
/*
@@ -76,9 +80,10 @@
* My personal preference is CPM at level 2, which puts it above the
* MBX PCI/ISA/IDE interrupts.
*/
-#define PIT_INTERRUPT SIU_LEVEL0
-#define CPM_INTERRUPT SIU_LEVEL2
-#define DEC_INTERRUPT SIU_LEVEL7
+#define PIT_INTERRUPT SIU_LEVEL0
+#define CPM_INTERRUPT SIU_LEVEL2
+#define PCMCIA_INTERRUPT SIU_LEVEL6
+#define DEC_INTERRUPT SIU_LEVEL7
/* Some internal interrupt registers use an 8-bit mask for the interrupt
* level instead of a number.
@@ -94,6 +99,10 @@
#define COMM_L_INT SIU_IRQ6 /* MBX Comm expansion connector pin */
#define STOP_ABRT_INT SIU_IRQ7 /* Stop/Abort header pin */
#endif /* CONFIG_MBX */
+
+#ifdef CONFIG_FADS
+#define FEC_INTERRUPT SIU_LEVEL1 /* FEC interrupt */
+#endif
/* always the same on MBX -- Cort */
static __inline__ int irq_cannonicalize(int irq)
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]