adds more irq defines to ifxmips
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 15 Jul 2008 09:07:13 +0000 (09:07 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 15 Jul 2008 09:07:13 +0000 (09:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11836 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips.h
target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h

index 8389611..2180f44 100644 (file)
 #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_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)
 #define IFXMIPS_ICU_IM5_IER            ((u32*)(IFXMIPS_ICU_BASE_ADDR + 0x00D0))
 
 #define IFXMIPS_ICU_OFFSET             (IFXMIPS_ICU_IM1_ISR - IFXMIPS_ICU_IM0_ISR)
index 07db10b..694a646 100644 (file)
 #define IFXMIPS_DMA_CH18_INT           (INT_NUM_IM2_IRL0 + 16)
 #define IFXMIPS_DMA_CH19_INT           (INT_NUM_IM2_IRL0 + 21)
 
 #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
 extern void ifxmips_mask_and_ack_irq(unsigned int irq_nr);
 
 #endif
This page took 0.025851 seconds and 4 git commands to generate.