summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-15 21:52:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-15 21:52:13 +0000
commitc13d383c2be23f646e0de054eb8ea7d4bce115f6 (patch)
tree535ee81af6671dcd01e015eb9e2de7b2e9acd954 /target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h
parente7697a9ab6c1fdd770e31dc95c3e79246613360c (diff)
downloadmaster-31e0f0ae-c13d383c2be23f646e0de054eb8ea7d4bce115f6.tar.gz
master-31e0f0ae-c13d383c2be23f646e0de054eb8ea7d4bce115f6.tar.bz2
master-31e0f0ae-c13d383c2be23f646e0de054eb8ea7d4bce115f6.zip
some ar531x cleanup
SVN-Revision: 6302
Diffstat (limited to 'target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h')
-rw-r--r--target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h b/target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h
index b6e71b8901..62d5797933 100644
--- a/target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h
+++ b/target/linux/atheros-2.6/files/arch/mips/atheros/ar5312.h
@@ -13,6 +13,17 @@
#include <asm/addrspace.h>
+/*
+ * IRQs
+ */
+
+#define AR5312_IRQ_WLAN0_INTRS MIPS_CPU_IRQ_BASE+2 /* C0_CAUSE: 0x0400 */
+#define AR5312_IRQ_ENET0_INTRS MIPS_CPU_IRQ_BASE+3 /* C0_CAUSE: 0x0800 */
+#define AR5312_IRQ_ENET1_INTRS MIPS_CPU_IRQ_BASE+4 /* C0_CAUSE: 0x1000 */
+#define AR5312_IRQ_WLAN1_INTRS MIPS_CPU_IRQ_BASE+5 /* C0_CAUSE: 0x2000 */
+#define AR5312_IRQ_MISC_INTRS MIPS_CPU_IRQ_BASE+6 /* C0_CAUSE: 0x4000 */
+
+
/* Address Map */
#define AR531X_WLAN0 0x18000000
#define AR531X_WLAN1 0x18500000