xref: /OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-ip27/irq.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * This file is subject to the terms and conditions of the GNU General Public
3*4882a593Smuzhiyun  * License.  See the file "COPYING" in the main directory of this archive
4*4882a593Smuzhiyun  * for more details.
5*4882a593Smuzhiyun  *
6*4882a593Smuzhiyun  * Copyright (C) 1999, 2000, 01, 02, 03 by Ralf Baechle
7*4882a593Smuzhiyun  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
8*4882a593Smuzhiyun  * Copyright (C) 2001 Kanoj Sarcar
9*4882a593Smuzhiyun  */
10*4882a593Smuzhiyun #ifndef __ASM_MACH_IP27_IRQ_H
11*4882a593Smuzhiyun #define __ASM_MACH_IP27_IRQ_H
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #define NR_IRQS 256
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #include <asm/mach-generic/irq.h>
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #define IP27_HUB_PEND0_IRQ	(MIPS_CPU_IRQ_BASE + 2)
18*4882a593Smuzhiyun #define IP27_HUB_PEND1_IRQ	(MIPS_CPU_IRQ_BASE + 3)
19*4882a593Smuzhiyun #define IP27_RT_TIMER_IRQ	(MIPS_CPU_IRQ_BASE + 4)
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #define IP27_HUB_IRQ_BASE	(MIPS_CPU_IRQ_BASE + 8)
22*4882a593Smuzhiyun #define IP27_HUB_IRQ_COUNT	128
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #endif /* __ASM_MACH_IP27_IRQ_H */
25