| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file "COPYING" in the main directory of this archive |
| * Copyright (C) 2004-2008 Cavium Networks |
| #define NR_IRQS OCTEON_IRQ_LAST |
| #define MIPS_CPU_IRQ_BASE OCTEON_IRQ_SW0 |
| /* 1 - 8 represent the 8 MIPS standard interrupt sources */ |
| /* CIU0, CUI2, CIU4 are 3, 4, 5 */ |
| /* sources in CIU_INTX_EN0 */ |
| OCTEON_IRQ_WDOG0 = OCTEON_IRQ_WORKQ0 + 64, |
| OCTEON_IRQ_MBOX0 = OCTEON_IRQ_WDOG0 + 32, |
| /* 256 - 511 represent the MSI interrupts 0-255 */ |
| #define OCTEON_IRQ_MSI_BIT0 (256) |
| #define OCTEON_IRQ_MSI_LAST (OCTEON_IRQ_MSI_BIT0 + 255) |
| #define OCTEON_IRQ_LAST (OCTEON_IRQ_MSI_LAST + 1) |