diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-11-06 18:54:20 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-11-06 18:54:20 +0000 |
commit | d9a42c5436a0bdc49696edaf80958cfa9a3f26cc (patch) | |
tree | 8426747c468d82fa0461445c9c616d536cd77534 /target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h | |
parent | 1f8f2aaa37114460df167dda37260190e714e6fc (diff) | |
download | mtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.zip mtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.tar.gz mtk-20170518-d9a42c5436a0bdc49696edaf80958cfa9a3f26cc.tar.bz2 |
Merge branch 'adm8668'
SVN-Revision: 23900
Diffstat (limited to 'target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h')
-rw-r--r-- | target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h b/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h new file mode 100644 index 0000000..425bba6 --- /dev/null +++ b/target/linux/adm8668/files/arch/mips/include/asm/mach-adm8668/irq.h @@ -0,0 +1,35 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2003 by Ralf Baechle + */ +#ifndef __ASM_MACH_ADM8668_IRQ_H +#define __ASM_MACH_ADM8668_IRQ_H + +#ifndef NR_IRQS +#define NR_IRQS 32 +#endif + +#ifdef CONFIG_IRQ_CPU + +#ifndef MIPS_CPU_IRQ_BASE +#define MIPS_CPU_IRQ_BASE 16 +#endif + +#ifdef CONFIG_IRQ_CPU_RM7K +#ifndef RM7K_CPU_IRQ_BASE +#define RM7K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+8) +#endif +#endif + +#ifdef CONFIG_IRQ_CPU_RM9K +#ifndef RM9K_CPU_IRQ_BASE +#define RM9K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+12) +#endif +#endif + +#endif /* CONFIG_IRQ_CPU */ + +#endif /* __ASM_MACH_ADM8668_IRQ_H */ |