Skip to contentSkip to conversation

IP22 wrong check for second HPC

PATCH Applied Thomas Bogendoerfer 2 participants 2 messages Sep 11, 2007 MIPS

lore
Share & tools
lore

Thomas Bogendoerfer

author maintainer
#0 lore raw

PATCH 1/1 IP22 wrong check for second HPC

Wrong check for the second hpc on fullhouse machines, caused DBEs on SGI Indys

---
 arch/mips/sgi-ip22/ip22-platform.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/mips/sgi-ip22/ip22-platform.c +2 -2
index 78b608d..28ffec8 100644
@@ -150,8 +150,8 @@ static int __init sgiseeq_devinit(void)
 		return res;
 
 	/* Second HPC is missing? */
-	if (ip22_is_fullhouse() ||
-	    !get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
+	if (!ip22_is_fullhouse() ||
+	    get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
 		return 0;
 
 	sgimc->giopar |= SGIMC_GIOPAR_MASTEREXP1 | SGIMC_GIOPAR_EXP164 |
Signature · 5 lines
1.4.4.4

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]
Applied
#1 lore raw

On Tue, Sep 11, 2007 at 12:46:03PM +0200, Thomas Bogendoerfer wrote:

Applied. Thanks,

Ralf