MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-espd_4510b / irqs.h
bloba1bbd58b72d66af2db02381b6f9c67f928bb7be5
1 /*
2 * linux/include/asm-armnommu/arch-espd_4510b/irqs.h
4 * Copyright (c) 2004 Cucy Systems (http://www.cucy.com)
5 * Curt Brune <curt@cucy.com>
7 * Based on:
8 * linux-2.4.x/asm/arch-samsung/irqs.h:
9 * Mac Wang <mac@os.nctu.edu.tw>
12 #ifndef __ASM_ARCH_IRQS_H__
13 #define __ASM_ARCH_IRQS_H__
14 #define NR_IRQS 21
15 #define VALID_IRQ(i) (i<=8 ||(i>=16 && i<NR_IRQS))
17 #define INT_EXTINT0 0
18 #define INT_EXTINT1 1
19 #define INT_EXTINT2 2
20 #define INT_EXTINT3 3
21 #define INT_UARTTX0 4
22 #define INT_UARTRX0 5
23 #define INT_UARTTX1 6
24 #define INT_UARTRX1 7
25 #define INT_GDMA0 8
26 #define INT_GDMA1 9
27 #define INT_TIMER0 10
28 #define INT_TIMER1 11
29 #define INT_HDLCTXA 12
30 #define INT_HDLCRXA 13
31 #define INT_HDLCTXB 14
32 #define INT_HDLCRXB 15
33 #define INT_BDMATX 16
34 #define INT_BDMARX 17
35 #define INT_MACTX 18
36 #define INT_MACRX 19
37 #define INT_IIC 20
38 #define INT_GLOBAL 21
40 #define IRQ_TIMER INT_TIMER0
42 #endif /* __ASM_ARCH_IRQS_H__ */