[parisc-linux-cvs] added constants EISA_IRQ_REGION (0) and EISA_MAX_IRQ (16)
Helge Deller
deller@gmx.de
Sun, 4 Nov 2001 23:26:45 +0100
Index: irq.h
===================================================================
RCS file: /var/cvs/linux/include/asm-parisc/irq.h,v
retrieving revision 1.16
diff -u -p -r1.16 irq.h
--- irq.h 2001/11/04 16:41:11 1.16
+++ irq.h 2001/11/04 22:16:04
@@ -42,6 +42,9 @@
#define IRQ_REG_DIS 1 /* support disable_irq()/enable_irq() */
#define IRQ_REG_MASK 2 /* require IRQs to be masked */
+#define EISA_IRQ_REGION 0 /* region 0 needs to be reserved for EISA */
+#define EISA_MAX_IRQS 16 /* max. (E)ISA irq line */
+
struct irq_region_ops {
void (*disable_irq)(void *dev, int irq);
void (* enable_irq)(void *dev, int irq);
@@ -54,6 +57,7 @@ struct irq_region_data {
const char *name;
unsigned flags;
int irqbase;
+ unsigned int status[IRQ_PER_REGION]; /* IRQ status */
};
struct irq_region {