aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/files/include
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-07-15 09:07:13 +0000
committerJohn Crispin <john@openwrt.org>2008-07-15 09:07:13 +0000
commit4c6a666b9036470d0c6136b53e3714e9c813311a (patch)
tree9362fcfa8ddccd95adfb03a1c0612a1e043714ef /target/linux/ifxmips/files/include
parente49fcefa5ca93c1fe480afccb6e565ec9d63a818 (diff)
downloadupstream-4c6a666b9036470d0c6136b53e3714e9c813311a.tar.gz
upstream-4c6a666b9036470d0c6136b53e3714e9c813311a.tar.bz2
upstream-4c6a666b9036470d0c6136b53e3714e9c813311a.zip
adds more irq defines to ifxmips
SVN-Revision: 11836
Diffstat (limited to 'target/linux/ifxmips/files/include')
-rw-r--r--target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h1
-rw-r--r--target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
index 8389611895..2180f44394 100644
--- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
+++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
@@ -196,6 +196,7 @@
#define IFXMIPS_ICU_IM0_IMR ((u32*)(IFXMIPS_ICU_BASE_ADDR + 0x0020))
#define IFXMIPS_ICU_IM1_ISR ((u32*)(IFXMIPS_ICU_BASE_ADDR + 0x0028))
+#define IFXMIPS_ICU_IM2_IER ((u32*)(IFXMIPS_ICU_BASE_ADDR + 0x0058))
#define IFXMIPS_ICU_IM5_IER ((u32*)(IFXMIPS_ICU_BASE_ADDR + 0x00D0))
#define IFXMIPS_ICU_OFFSET (IFXMIPS_ICU_IM1_ISR - IFXMIPS_ICU_IM0_ISR)
diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h
index 07db10b02c..694a646e86 100644
--- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h
+++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h
@@ -63,6 +63,10 @@
#define IFXMIPS_DMA_CH18_INT (INT_NUM_IM2_IRL0 + 16)
#define IFXMIPS_DMA_CH19_INT (INT_NUM_IM2_IRL0 + 21)
+#define IFXMIPS_USB_INT (INT_NUM_IM4_IRL0 + 22)
+#define IFXMIPS_USB_OC_INT (INT_NUM_IM4_IRL0 + 23)
+
+
extern void ifxmips_mask_and_ack_irq(unsigned int irq_nr);
#endif