ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-nexuspci / irqs.h
1 /*
2  * linux/include/asm-arm/arch-nexuspci/irqs.h
3  *
4  * Copyright (C) 1997, 1998, 2000 Philip Blundell
5  */
6
7 /*
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version
11  * 2 of the License, or (at your option) any later version.
12  */
13
14 /*
15  * The hardware is capable of routing any interrupt source (except the
16  * DUART) to either IRQ or FIQ.  We ignore FIQ and use IRQ exclusively
17  * for simplicity.  
18  */
19
20 #define IRQ_DUART               0
21 #define IRQ_PLX                 1
22 #define IRQ_PCI_D               2
23 #define IRQ_PCI_C               3
24 #define IRQ_PCI_B               4
25 #define IRQ_PCI_A               5
26 #define IRQ_SYSERR              6       /* only from IOSLAVE rev B */
27
28 #define FIRST_IRQ               IRQ_DUART
29 #define LAST_IRQ                IRQ_SYSERR
30
31 /* timer is part of the DUART */
32 #define IRQ_TIMER               IRQ_DUART
33
34 #define irq_canonicalize(i)     (i)