2 * contains some Q40 related interrupt definitions
5 #define Q40_IRQ_MAX (34)
7 #define Q40_IRQ_TIMER (34)
8 #define Q40_IRQ_KEYBOARD (32)
9 #define Q40_IRQ_FRAME (33)
12 /* masks for interrupt regiosters*/
13 /* internal, IIRQ_REG */
14 #define IRQ_KEYB_MASK (2)
15 #define IRQ_SER_MASK (1<<2)
16 #define IRQ_FRAME_MASK (1<<3)
17 #define IRQ_EXT_MASK (1<<4) /* is a EIRQ */
20 #define IRQ4_MASK (1<<1)
21 #define IRQ5_MASK (1<<2)
22 #define IRQ6_MASK (1<<3)
23 #define IRQ7_MASK (1<<4)
24 #define IRQ10_MASK (1<<5)
25 #define IRQ14_MASK (1<<6)
26 #define IRQ15_MASK (1<<7)
28 extern unsigned long q40_probe_irq_on (void);
29 extern int q40_probe_irq_off (unsigned long irqs
);