linux-mips
[Top] [All Lists]

[PATCH 5/8] MIPS: OCTEON: Add OCTEON_IRQ_* definitions for cn68XX chips.

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 5/8] MIPS: OCTEON: Add OCTEON_IRQ_* definitions for cn68XX chips.
From: David Daney <ddaney.cavm@gmail.com>
Date: Fri, 27 Apr 2012 11:32:37 -0700
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=pAJBaBRcTuhJ1OT0lnyDHLT/i5Q3uH6+WTtTK9NoS/g=; b=BrxTmtGQuo1lmHKZGX3sWd6eUGJccIolc4fIHpAXXTGywJQTLiW1MX3x4YbxqAf97u mK7fQKJf/pD+dGDBKdLgB66WkysRv/uajlkuCZHPPzwFqa075ek3SUbtL2z5+I9Gw8Ah LYnokxpw3RNgd7n2Kruk3I0p84bAjI5eKLfQkmXZmmBvvHXoiyk+yj4eQKpXHr6+oiBk Ny4e3tyg+qdLoCi+SDEw7fNIw6uoUiyeZnWDiJLFWUHS1tRXbmCxE82Sx05sCvft4GOM +gT8JYw3oEWTDr+XcDlbwrjb7VUaIQaw8ecUhrxA/cqdZkIL3BNDcs4Ep7jXKBuPU2lw z1AQ==
In-reply-to: <1335551560-19581-1-git-send-email-ddaney.cavm@gmail.com>
References: <1335551560-19581-1-git-send-email-ddaney.cavm@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

There are 64 workqueue, 32 watchdog, and 4 mbox.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 arch/mips/include/asm/mach-cavium-octeon/irq.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/mips/include/asm/mach-cavium-octeon/irq.h 
b/arch/mips/include/asm/mach-cavium-octeon/irq.h
index 16b7da3..38b25d4 100644
--- a/arch/mips/include/asm/mach-cavium-octeon/irq.h
+++ b/arch/mips/include/asm/mach-cavium-octeon/irq.h
@@ -21,10 +21,11 @@ enum octeon_irq {
        OCTEON_IRQ_TIMER,
 /* sources in CIU_INTX_EN0 */
        OCTEON_IRQ_WORKQ0,
-       OCTEON_IRQ_WDOG0 = OCTEON_IRQ_WORKQ0 + 16,
-       OCTEON_IRQ_WDOG15 = OCTEON_IRQ_WDOG0 + 15,
-       OCTEON_IRQ_MBOX0 = OCTEON_IRQ_WDOG0 + 16,
+       OCTEON_IRQ_WDOG0 = OCTEON_IRQ_WORKQ0 + 64,
+       OCTEON_IRQ_MBOX0 = OCTEON_IRQ_WDOG0 + 32,
        OCTEON_IRQ_MBOX1,
+       OCTEON_IRQ_MBOX2,
+       OCTEON_IRQ_MBOX3,
        OCTEON_IRQ_PCI_INT0,
        OCTEON_IRQ_PCI_INT1,
        OCTEON_IRQ_PCI_INT2,
-- 
1.7.2.3


<Prev in Thread] Current Thread [Next in Thread>