diff options
Diffstat (limited to 'target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h')
-rw-r--r-- | target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 6c9f59e0f..6017df0ac 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 @@ -28,9 +28,9 @@ #define INT_NUM_IM4_IRL0 (INT_NUM_IRQ0 + 128) #define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0) -#define IFXMIPSASC1_TIR (INT_NUM_IM3_IRL0 + 7) -#define IFXMIPSASC1_RIR (INT_NUM_IM3_IRL0 + 9) -#define IFXMIPSASC1_EIR (INT_NUM_IM3_IRL0 + 10) +#define IFXMIPSASC_TIR(x) (INT_NUM_IM3_IRL0 + (x * 7)) +#define IFXMIPSASC_RIR(x) (INT_NUM_IM3_IRL0 + (x * 7) + 2) +#define IFXMIPSASC_EIR(x) (INT_NUM_IM3_IRL0 + (x * 7) + 3) #define IFXMIPS_SSC_TIR (INT_NUM_IM0_IRL0 + 15) #define IFXMIPS_SSC_RIR (INT_NUM_IM0_IRL0 + 14) |