425bba6a9f6c68085e52c2df274464734a0ea388
[openwrt/svn-archive/archive.git] / target / linux / adm8668 / files / arch / mips / include / asm / mach-adm8668 / irq.h
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2003 by Ralf Baechle
7 */
8 #ifndef __ASM_MACH_ADM8668_IRQ_H
9 #define __ASM_MACH_ADM8668_IRQ_H
10
11 #ifndef NR_IRQS
12 #define NR_IRQS 32
13 #endif
14
15 #ifdef CONFIG_IRQ_CPU
16
17 #ifndef MIPS_CPU_IRQ_BASE
18 #define MIPS_CPU_IRQ_BASE 16
19 #endif
20
21 #ifdef CONFIG_IRQ_CPU_RM7K
22 #ifndef RM7K_CPU_IRQ_BASE
23 #define RM7K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+8)
24 #endif
25 #endif
26
27 #ifdef CONFIG_IRQ_CPU_RM9K
28 #ifndef RM9K_CPU_IRQ_BASE
29 #define RM9K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+12)
30 #endif
31 #endif
32
33 #endif /* CONFIG_IRQ_CPU */
34
35 #endif /* __ASM_MACH_ADM8668_IRQ_H */