est.c patch for Pentium-M 1.86GHz

Victor Balada Diaz victor at bsdes.net
Fri Dec 8 08:19:18 PST 2006


On Wed, Dec 06, 2006 at 01:25:10AM +0100, Victor Balada Diaz wrote:
> On Wed, Dec 06, 2006 at 08:34:40AM +0900, YONETANI Tomokazu wrote:
> > By the way if you saw a message like this with unpatched est driver,
> > please let me know:
> > ... - unknown CPU or operating point(cpu_id:XXXXX, msr:YYYY).
> 
> Enhanced SpeedStep (1308 mV)  - unknown CPU or operating point(cpu_id:0x6d8, msr:0x6120f2606000f26).
> module_register_init: MOD_LOAD (est, d56040e8, 0) error 45
> 
> It's a Pentium M 760 @ 2GHZ.

With the attached patch it does work. I've got it from
FreeBSD's src/sys/i386/cpufreq/est.c. The model i pick up was 
static freq_info PM_755C_90[] = {
	/* 90 nm 2.00GHz Pentium M, VID #C */

Works for me but i'm not sure if it's right, so if it burns your
computer don't blame me!

-- 
La prueba más fehaciente de que existe vida inteligente en otros
planetas, es que no han intentado contactar con nosotros. 
--- /home/victor/wc/src/sys/machine/pc32/i386/est.c	2006-12-08 17:48:33.000000000 +0100
+++ est.c	2006-12-08 17:51:42.000000000 +0100
@@ -362,11 +362,19 @@
 
 /* Intel Pentium M processor 760 2.0 GHz */
 static const struct fq_info pentium_m_n760[] = {
-	{ 2000, 1356 },
-	{ 1600, 1244 },
-	{ 1333, 1164 },
-	{ 1067, 1084 },
-	{  800,  988 }
+	{ 2000, 1308 },
+	{ 1800, 1276 },
+	{ 1600, 1228 },
+	{ 1400, 1180 },
+	{ 1200, 1132 },
+	{ 1000, 1084 },
+	{  800, 1036 },
+	{  600,  988 }
+/* 	{ 2000, 1356 }, */
+/* 	{ 1600, 1244 }, */
+/* 	{ 1333, 1164 }, */
+/* 	{ 1067, 1084 }, */
+/* 	{  800,  988 } */
 };
 
 /* Intel Pentium M processor 765 2.1 GHz */




More information about the Kernel mailing list