From: Thomas Bogendoerfer Date: Thu, 4 Sep 2008 21:05:45 +0000 (+0200) Subject: [MIPS] IP22: Fix detection of second HPC3 on Challenge S X-Git-Tag: v2.6.27-rc6~6^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4a911b1efe219fa3c8af697be0054c72e13bdae4;p=linux-2.6-omap-h63xx.git [MIPS] IP22: Fix detection of second HPC3 on Challenge S The second HPC3 could be found only on Guiness systems (Challenge-S), but not on fullhouse (Indigo2) systems. Signed-off-by: Thomas Bogendoerfer Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/sgi-ip22/ip22-platform.c b/arch/mips/sgi-ip22/ip22-platform.c index 60141235ec4..52486c4d2b0 100644 --- a/arch/mips/sgi-ip22/ip22-platform.c +++ b/arch/mips/sgi-ip22/ip22-platform.c @@ -150,7 +150,7 @@ static int __init sgiseeq_devinit(void) return res; /* Second HPC is missing? */ - if (!ip22_is_fullhouse() || + if (ip22_is_fullhouse() || get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1])) return 0;