linux-mips
[Top] [All Lists]

[PATCH] IP28: fix MC GIOPAR setting

To: linux-mips@linux-mips.org
Subject: [PATCH] IP28: fix MC GIOPAR setting
From: peter fuerst <post@pfrst.de>
Date: Fri, 21 Mar 2008 16:03:16 +0100 (CET)
Cc: ralf@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: post@pfrst.de
Sender: linux-mips-bounce@linux-mips.org

We must not omit the MASTERGFX setting, unless we want Impact DMA to hang ;-)


Signed-off-by: peter fuerst <post@pfrst.de>


--- a/arch/mips/sgi-ip22/ip22-mc.c      Tue Jan 29 10:14:58 2008
+++ b/arch/mips/sgi-ip22/ip22-mc.c      Fri Mar 21 13:59:42 2008
@@ -180,7 +180,9 @@
        /* First the basic invariants across all GIO64 implementations. */
        tmp = SGIMC_GIOPAR_HPC64;       /* All 1st HPC's interface at 64bits */
        tmp |= SGIMC_GIOPAR_ONEBUS;     /* Only one physical GIO bus exists */
-
+#ifdef CONFIG_SGI_IP28
+       tmp |= SGIMC_GIOPAR_MASTERGFX;  /* GFX can act as a bus master */
+#endif
        if (ip22_is_fullhouse()) {
                /* Fullhouse specific settings. */
                if (SGIOC_SYSID_BOARDREV(sgioc->sysid) < 2) {

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