patch-2.1.110 linux/include/asm-arm/arch-nexuspci/irqs.h

Next file: linux/include/asm-arm/arch-nexuspci/mmu.h
Previous file: linux/include/asm-arm/arch-nexuspci/irq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/include/asm-arm/arch-nexuspci/irqs.h linux/include/asm-arm/arch-nexuspci/irqs.h
@@ -1,19 +1,32 @@
 /*
  * linux/include/asm-arm/arch-nexuspci/irqs.h
  *
- * Copyright (C) 1997 Philip Blundell
+ * Copyright (C) 1997, 1998 Philip Blundell
  */
 
-#define IRQ_DUART		0
-#define IRQ_PLX 		1
-#define IRQ_PCI_D		2
-#define IRQ_PCI_C		3
-#define IRQ_PCI_B		4
-#define IRQ_PCI_A		5
-#define IRQ_SYSERR		6
+/* Most of the IRQ sources can generate both FIQs and IRQs.
+   The exceptions to this are the DUART, which can only generate IRQs,
+   and the PLX SYSERR output, which can only generate FIQs.  We route
+   both FIQs and IRQs through the generic IRQ handling system and the
+   choice by the driver of which to use is basically an arbitrary one.  */
+
+#define TREAT_FIQS_AS_IRQS
+
+#define FIQ_PLX			0
+#define FIQ_PCI_D		1
+#define FIQ_PCI_C		2
+#define FIQ_PCI_B		3
+#define FIQ_PCI_A		4
+#define FIQ_SYSERR		5
+
+#define IRQ_DUART		6
+#define IRQ_PLX 		7
+#define IRQ_PCI_D		8
+#define IRQ_PCI_C		9
+#define IRQ_PCI_B		10
+#define IRQ_PCI_A	        11
 
 /* timer is part of the DUART */
 #define IRQ_TIMER		IRQ_DUART
 
 #define irq_cannonicalize(i)	(i)
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov