patch-2.3.49 linux/include/asm-arm/arch-nexuspci/irqs.h
Next file: linux/include/asm-arm/arch-nexuspci/keyboard.h
Previous file: linux/include/asm-arm/arch-nexuspci/irq.h
Back to the patch index
Back to the overall index
- Lines: 44
- Date:
Mon Feb 28 14:16:37 2000
- Orig file:
v2.3.48/linux/include/asm-arm/arch-nexuspci/irqs.h
- Orig date:
Sat Jul 18 11:55:25 1998
diff -u --recursive --new-file v2.3.48/linux/include/asm-arm/arch-nexuspci/irqs.h linux/include/asm-arm/arch-nexuspci/irqs.h
@@ -1,30 +1,23 @@
/*
* linux/include/asm-arm/arch-nexuspci/irqs.h
*
- * Copyright (C) 1997, 1998 Philip Blundell
+ * Copyright (C) 1997, 1998, 2000 Philip Blundell
*/
-/* 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. */
+/* The hardware is capable of routing any interrupt source (except the
+ DUART) to either IRQ or FIQ. We ignore FIQ and use IRQ exclusively
+ for simplicity. */
-#define TREAT_FIQS_AS_IRQS
+#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 /* only from IOSLAVE rev B */
-#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
+#define FIRST_IRQ IRQ_DUART
+#define LAST_IRQ IRQ_SYSERR
/* timer is part of the DUART */
#define IRQ_TIMER IRQ_DUART
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)