patch-2.2.8 linux/include/asm-m68k/q40ints.h

Next file: linux/include/asm-m68k/scatterlist.h
Previous file: linux/include/asm-m68k/q40_master.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/include/asm-m68k/q40ints.h linux/include/asm-m68k/q40ints.h
@@ -0,0 +1,29 @@
+/*
+ * contains some Q40 related interrupt definitions
+ */
+
+#define Q40_IRQ_MAX      (34)
+
+#define Q40_IRQ_TIMER    (34)
+#define Q40_IRQ_KEYBOARD (32)
+#define Q40_IRQ_FRAME    (33)
+
+
+/* masks for interrupt regiosters*/
+/* internal, IIRQ_REG */
+#define IRQ_KEYB_MASK    (2)
+#define IRQ_SER_MASK     (1<<2)
+#define IRQ_FRAME_MASK   (1<<3)
+#define IRQ_EXT_MASK     (1<<4)    /* is a EIRQ */
+/* eirq, EIRQ_REG */
+#define IRQ3_MASK        (1)
+#define IRQ4_MASK        (1<<1)
+#define IRQ5_MASK        (1<<2)
+#define IRQ6_MASK        (1<<3)
+#define IRQ7_MASK        (1<<4)
+#define IRQ10_MASK       (1<<5)
+#define IRQ14_MASK       (1<<6)
+#define IRQ15_MASK       (1<<7)
+
+extern unsigned long q40_probe_irq_on (void);
+extern int q40_probe_irq_off (unsigned long irqs);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)