Subject: EST for Pentium M 770
To: None <port-i386@netbsd.org>
From: Masao Uebayashi <uebayasi@gmail.com>
List: port-i386
Date: 11/26/2005 22:38:26
Hi.

I can make Pentium M 770 (2.13GHz) recognized by the EST driver
(sys/arch/i386/dev/est.c) with this patch.  The behaviour is
unreliable; it sometimes (?) steps up the CPU clock (and fan speed).
I don't think I have seen CPU clock stepping down...

Masao

Index: arch/i386/i386/est.c
===================================================================
RCS file: /src/NetBSD/cvsroot/src/sys/arch/i386/i386/est.c,v
retrieving revision 1.10
diff -u -r1.10 est.c
--- arch/i386/i386/est.c	12 Oct 2005 04:20:59 -0000	1.10
+++ arch/i386/i386/est.c	12 Nov 2005 14:52:25 -0000
@@ -307,6 +307,16 @@
 	{  600,  988 }
 };
 
+/* Intel Pentium M processor 770 2.13 GHz */
+static const struct fq_info pentium_m_n770[] = {
+	{ 1600, 1356 },
+	{ 1400, 1292 },
+	{ 1200, 1212 },
+	{ 1000, 1148 },
+	{  800, 1068 },
+	{  600,  988 },
+};
+
 struct fqlist {
 	const char *brand_tag;
 	size_t tablec;
@@ -340,6 +350,7 @@
 	ENTRY("1.80", pentium_m_n745),
 	ENTRY("2.00", pentium_m_n755),
 	ENTRY("2.10", pentium_m_n765),
+	ENTRY("2.13", pentium_m_n770),
 	ENTRY("1.00", pentium_m_n723),
 	ENTRY("1.10", pentium_m_n733),
 	ENTRY("1.40", pentium_m_n738),