diff options
Diffstat (limited to 'arch/mips/include/asm/netlogic/xlr/pic.h')
-rw-r--r-- | arch/mips/include/asm/netlogic/xlr/pic.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/include/asm/netlogic/xlr/pic.h b/arch/mips/include/asm/netlogic/xlr/pic.h index 9a691b1f91ba..2f549453585e 100644 --- a/arch/mips/include/asm/netlogic/xlr/pic.h +++ b/arch/mips/include/asm/netlogic/xlr/pic.h | |||
@@ -116,7 +116,7 @@ | |||
116 | #define PIC_TIMER_COUNT_0_BASE 0x120 | 116 | #define PIC_TIMER_COUNT_0_BASE 0x120 |
117 | #define PIC_TIMER_COUNT_1_BASE 0x130 | 117 | #define PIC_TIMER_COUNT_1_BASE 0x130 |
118 | 118 | ||
119 | #define PIC_IRT_0(picintr) (PIC_IRT_0_BASE + (picintr)) | 119 | #define PIC_IRT_0(picintr) (PIC_IRT_0_BASE + (picintr)) |
120 | #define PIC_IRT_1(picintr) (PIC_IRT_1_BASE + (picintr)) | 120 | #define PIC_IRT_1(picintr) (PIC_IRT_1_BASE + (picintr)) |
121 | 121 | ||
122 | #define PIC_TIMER_MAXVAL_0(i) (PIC_TIMER_MAXVAL_0_BASE + (i)) | 122 | #define PIC_TIMER_MAXVAL_0(i) (PIC_TIMER_MAXVAL_0_BASE + (i)) |
@@ -130,9 +130,9 @@ | |||
130 | * 8-39. This leaves the IRQ 0-7 for cpu interrupts like | 130 | * 8-39. This leaves the IRQ 0-7 for cpu interrupts like |
131 | * count/compare and FMN | 131 | * count/compare and FMN |
132 | */ | 132 | */ |
133 | #define PIC_IRQ_BASE 8 | 133 | #define PIC_IRQ_BASE 8 |
134 | #define PIC_INTR_TO_IRQ(i) (PIC_IRQ_BASE + (i)) | 134 | #define PIC_INTR_TO_IRQ(i) (PIC_IRQ_BASE + (i)) |
135 | #define PIC_IRQ_TO_INTR(i) ((i) - PIC_IRQ_BASE) | 135 | #define PIC_IRQ_TO_INTR(i) ((i) - PIC_IRQ_BASE) |
136 | 136 | ||
137 | #define PIC_IRT_FIRST_IRQ PIC_IRQ_BASE | 137 | #define PIC_IRT_FIRST_IRQ PIC_IRQ_BASE |
138 | #define PIC_WD_IRQ PIC_INTR_TO_IRQ(PIC_IRT_WD_INDEX) | 138 | #define PIC_WD_IRQ PIC_INTR_TO_IRQ(PIC_IRT_WD_INDEX) |
@@ -168,7 +168,7 @@ | |||
168 | #define PIC_BRIDGE_AERR_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_AERR_INDEX) | 168 | #define PIC_BRIDGE_AERR_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_AERR_INDEX) |
169 | #define PIC_BRIDGE_BERR_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_BERR_INDEX) | 169 | #define PIC_BRIDGE_BERR_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_BERR_INDEX) |
170 | #define PIC_BRIDGE_TB_XLR_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_TB_XLR_INDEX) | 170 | #define PIC_BRIDGE_TB_XLR_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_TB_XLR_INDEX) |
171 | #define PIC_BRIDGE_AERR_NMI_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_AERR_NMI_INDEX) | 171 | #define PIC_BRIDGE_AERR_NMI_IRQ PIC_INTR_TO_IRQ(PIC_IRT_BRIDGE_AERR_NMI_INDEX) |
172 | /* XLS defines */ | 172 | /* XLS defines */ |
173 | #define PIC_GMAC_4_IRQ PIC_INTR_TO_IRQ(PIC_IRT_GMAC4_INDEX) | 173 | #define PIC_GMAC_4_IRQ PIC_INTR_TO_IRQ(PIC_IRT_GMAC4_INDEX) |
174 | #define PIC_GMAC_5_IRQ PIC_INTR_TO_IRQ(PIC_IRT_GMAC5_INDEX) | 174 | #define PIC_GMAC_5_IRQ PIC_INTR_TO_IRQ(PIC_IRT_GMAC5_INDEX) |