diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-14 17:32:40 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-14 17:32:40 +0000 |
commit | ed79921fe516cfe1c51442bf906f10244f8279a8 (patch) | |
tree | 6da1841eeb3e06b9f4a1f8c419404579c9600b87 /target/linux | |
parent | 0b07769898cde3733602a7c62b2a1130d5808c5b (diff) | |
download | mtk-20170518-ed79921fe516cfe1c51442bf906f10244f8279a8.zip mtk-20170518-ed79921fe516cfe1c51442bf906f10244f8279a8.tar.gz mtk-20170518-ed79921fe516cfe1c51442bf906f10244f8279a8.tar.bz2 |
ramips: use SoC specific irq.h
SVN-Revision: 30525
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/irq.h (renamed from target/linux/ramips/files/arch/mips/include/asm/mach-ralink/irq.h) | 6 | ||||
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/irq.h | 17 | ||||
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883/irq.h | 16 |
3 files changed, 36 insertions, 3 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/irq.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/irq.h index 90bfea3..61264f3 100644 --- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/irq.h +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/irq.h @@ -6,12 +6,12 @@ * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ -#ifndef __ASM_MACH_RT288X_IRQ_H -#define __ASM_MACH_RT288X_IRQ_H +#ifndef __ASM_MACH_RALINK_RT288X_IRQ_H +#define __ASM_MACH_RALINK_RT288X_IRQ_H #define MIPS_CPU_IRQ_BASE 0 #define NR_IRQS 48 #include_next <irq.h> -#endif /* __ASM_MACH_RT288X_IRQ_H */ +#endif /* __ASM_MACH_RALINK_RT288X_IRQ_H */ diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/irq.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/irq.h new file mode 100644 index 0000000..a72d677 --- /dev/null +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/irq.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org> + * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ +#ifndef __ASM_MACH_RALINK_RT305X_IRQ_H +#define __ASM_MACH_RALINK_RT305X_IRQ_H + +#define MIPS_CPU_IRQ_BASE 0 +#define NR_IRQS 48 + +#include_next <irq.h> + +#endif /* __ASM_MACH_RALINK_RT305X_IRQ_H */ diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883/irq.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883/irq.h new file mode 100644 index 0000000..635d68c --- /dev/null +++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883/irq.h @@ -0,0 +1,16 @@ +/* + * Copyright (C) 2012 Gabor Juhos <juhosg@openwrt.org> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + */ +#ifndef __ASM_MACH_RALINK_RT3883_IRQ_H +#define __ASM_MACH_RALINK_RT3883_IRQ_H + +#define MIPS_CPU_IRQ_BASE 0 +#define NR_IRQS 140 + +#include_next <irq.h> + +#endif /* __ASM_MACH_RALINK_RT3883_IRQ_H */ |