]> err.no Git - linux-2.6/commitdiff
[MIPS] IP22: Fix detection of second HPC3 on Challenge S
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 4 Sep 2008 21:05:45 +0000 (23:05 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 8 Sep 2008 16:45:39 +0000 (18:45 +0200)
The second HPC3 could be found only on Guiness systems (Challenge-S),
but not on fullhouse (Indigo2) systems.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip22/ip22-platform.c

index 60141235ec40a956162f6343b27d55d567f0d386..52486c4d2b019739be2db360e3cbc8b7dd1fd847 100644 (file)
@@ -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;