提交 3f4a25f1 编写于 作者: R Rafa Bilski 提交者: Dave Jones

[CPUFREQ] Longhaul - fix 200MHz FSB

On board of Epia SP13000 is 10x133Mhz VIA Nehemiah. It is reported
as 10x200MHz. This patch is fixing this issue.
Signed-off-by: NRafa Bilski <rafalbilski@interia.pl>
Signed-off-by: NDave Jones <davej@redhat.com>
上级 e11952b9
...@@ -410,7 +410,7 @@ static int __init longhaul_get_ranges(void) ...@@ -410,7 +410,7 @@ static int __init longhaul_get_ranges(void)
maxmult=longhaul_get_cpu_mult(); maxmult=longhaul_get_cpu_mult();
/* Starting with the 1.2GHz parts, theres a 200MHz bus. */ /* Starting with the 1.2GHz parts, theres a 200MHz bus. */
if ((cpu_khz/1000) > 1200) if ((cpu_khz/maxmult) > 13400)
fsb = 200; fsb = 200;
else else
fsb = eblcr_fsb_table_v2[longhaul.bits.MaxMHzFSB]; fsb = eblcr_fsb_table_v2[longhaul.bits.MaxMHzFSB];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册