Date: Mon, 7 Feb 2005 11:35:24 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 p4tcc.c Message-ID: <200502071135.j17BZOpp002249@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sobomax 2005-02-07 11:35:24 UTC FreeBSD src repository Modified files: sys/i386/i386 p4tcc.c Log: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502071135.j17BZOpp002249>