]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: use SoC specific irq.h
authorGabor Juhos <juhosg@openwrt.org>
Tue, 14 Feb 2012 17:32:40 +0000 (17:32 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 14 Feb 2012 17:32:40 +0000 (17:32 +0000)
SVN-Revision: 30525

target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/irq.h [moved from target/linux/ramips/files/arch/mips/include/asm/mach-ralink/irq.h with 75% similarity]
target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/irq.h [new file with mode: 0644]
target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt3883/irq.h [new file with mode: 0644]

similarity index 75%
rename from target/linux/ramips/files/arch/mips/include/asm/mach-ralink/irq.h
rename to target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt288x/irq.h
index 90bfea37157a9884ba5ef8fa762db4495d24177c..61264f3c6aab14e68b2b8ca9f7a4e428c174dc18 100644 (file)
@@ -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 (file)
index 0000000..a72d677
--- /dev/null
@@ -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 (file)
index 0000000..635d68c
--- /dev/null
@@ -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 */