提交 4a911b1e 编写于 作者: T Thomas Bogendoerfer 提交者: Ralf Baechle

[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: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 7686ad56
...@@ -150,7 +150,7 @@ static int __init sgiseeq_devinit(void) ...@@ -150,7 +150,7 @@ static int __init sgiseeq_devinit(void)
return res; return res;
/* Second HPC is missing? */ /* Second HPC is missing? */
if (!ip22_is_fullhouse() || if (ip22_is_fullhouse() ||
get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1])) get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册