aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-14 17:32:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-14 17:32:40 +0000
commit5b15128f6654d13a2b7eee0f0ae45b0ba0c88430 (patch)
tree1ef4348bd8b95139a896bbc47ce58aa427609661 /target/linux/ramips/files
parent533f7ff4e8fec03f01e8e3d4c14305ab30dc1360 (diff)
downloadupstream-5b15128f6654d13a2b7eee0f0ae45b0ba0c88430.tar.gz
upstream-5b15128f6654d13a2b7eee0f0ae45b0ba0c88430.tar.bz2
upstream-5b15128f6654d13a2b7eee0f0ae45b0ba0c88430.zip
ramips: use SoC specific irq.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30525 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files')
-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.h17
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883/irq.h16
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 90bfea3715..61264f3c6a 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 0000000000..a72d677142
--- /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 0000000000..635d68c101
--- /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 */