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.
This commit is contained in:
Alexander Motin 2010-06-19 13:09:42 +00:00
parent 7bc1af9566
commit 5ec55931d6

View File

@ -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;