[parisc-linux-cvs] return irq9 for irq2 if we have CONFIG_EISA enabled

Helge Deller deller@gmx.de
Sun, 4 Nov 2001 15:24:43 +0100


Index: irq.h
===================================================================
RCS file: /var/cvs/linux/include/asm-parisc/irq.h,v
retrieving revision 1.14
diff -u -p -r1.14 irq.h
--- irq.h       2001/07/15 20:02:07     1.14
+++ irq.h       2001/11/04 14:16:10
@@ -69,7 +69,11 @@ extern struct irq_region *irq_region[NR_

 static __inline__ int irq_cannonicalize(int irq)
 {
+#ifdef CONFIG_EISA
+       return (irq==2 ? 9:irq);
+#else
        return irq;
+#endif
 }

 extern void disable_irq(int);