cvs commit: src/sys/i386/i386 p4tcc.c
sobomax at FreeBSD.org
Mon Feb 7 03:35:25 PST 2005
sobomax 2005-02-07 11:35:24 UTC
FreeBSD src repository
Fix the problem with incorrect throttling level reported immediately after
reboot. Safter the reboot the TCC is usually in the Automatic mode, in which
reading current performance level is likely to produce bogus results make sure
to switch it to the On-Demand mode and set to some known performance level.
Unfortunately there is no reliable way to check that TCC is in the Automatic
mode. Reading bit 4 of ACPI Thermal Monitor Control Register produces 0
regardless of the current mode.
MFC after: 1 week
Revision Changes Path
1.7 +11 -0 src/sys/i386/i386/p4tcc.c
More information about the cvs-all