diff options
author | mav <mav@FreeBSD.org> | 2010-06-19 13:09:42 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-06-19 13:09:42 +0000 |
commit | 3e17abd3a9784372d8d90b8c070584b9ce49c737 (patch) | |
tree | 1184ad3084b0dccc3ebf4c4ce14b9ed9289bb003 /sys/x86 | |
parent | aad8535a0ca4a67b80df478a387140ac71bc6782 (diff) | |
download | FreeBSD-src-3e17abd3a9784372d8d90b8c070584b9ce49c737.zip FreeBSD-src-3e17abd3a9784372d8d90b8c070584b9ce49c737.tar.gz |
Core i5, same as previously Core2Duo, found to not set P-state for single
core lower then set on other cores. Do not try to test P-states on attach
on SMP systems. It is hopeless now and will just pollute verbose logs.
If needed, check still can be forced via loader tunable.
Diffstat (limited to 'sys/x86')
-rw-r--r-- | sys/x86/cpufreq/est.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/x86/cpufreq/est.c b/sys/x86/cpufreq/est.c index 6a7b514..144858c 100644 --- a/sys/x86/cpufreq/est.c +++ b/sys/x86/cpufreq/est.c @@ -1123,16 +1123,12 @@ est_acpi_info(device_t dev, freq_info **freqs) * Confirm id16 value is correct. */ if (sets[i].freq > 0) { - error = est_set_id16(dev, sets[i].spec[0], 1); - if (error != 0 && strict) { + error = est_set_id16(dev, sets[i].spec[0], strict); + if (error != 0) { if (bootverbose) device_printf(dev, "Invalid freq %u, " "ignored.\n", sets[i].freq); continue; - } else if (error != 0 && bootverbose) { - device_printf(dev, "Can't check freq %u, " - "it may be invalid\n", - sets[i].freq); } table[j].freq = sets[i].freq; table[j].volts = sets[i].volts; |