svn commit: r185853 - stable/6/sys/i386/cpufreq
Maxim Sobolev
sobomax at FreeBSD.org
Wed Dec 10 02:46:59 PST 2008
Author: sobomax
Date: Wed Dec 10 10:46:58 2008
New Revision: 185853
URL: http://svn.freebsd.org/changeset/base/185853
Log:
MFC: Add Pentium D cores into the list that can't handle 12.5% and 25%
throttle. Also, fix logic error which makes detection always negative
while I am here (already fixed in current).
Modified:
stable/6/sys/i386/cpufreq/p4tcc.c
Modified: stable/6/sys/i386/cpufreq/p4tcc.c
==============================================================================
--- stable/6/sys/i386/cpufreq/p4tcc.c Wed Dec 10 10:46:34 2008 (r185852)
+++ stable/6/sys/i386/cpufreq/p4tcc.c Wed Dec 10 10:46:58 2008 (r185853)
@@ -164,7 +164,7 @@ p4tcc_attach(device_t dev)
*/
sc->auto_mode = TRUE;
- switch (cpu_id & 0xf) {
+ switch (cpu_id & 0xff) {
case 0x22:
case 0x24:
case 0x25:
@@ -180,9 +180,11 @@ p4tcc_attach(device_t dev)
case 0x0a:
case 0x12:
case 0x13:
- /*
+ case 0x62: /* Pentium D B1: errata AA21 */
+ case 0x64: /* Pentium D C1: errata AA21 */
+ case 0x65: /* Pentium D D0: errata AA21 */ /*
* These CPU models hang when set to 12.5% or 25%.
- * See Errata N44 and P18l.
+ * See Errata N44, P18l and AA21.
*/
sc->set_count -= 2;
break;
More information about the svn-src-stable
mailing list