DragonFly submit List (threaded) for 2007-08
DragonFly BSD
DragonFly submit List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

add T2300 cpu support to EST


From: Andrew Atrens <atrens@xxxxxxxxxx>
Date: Fri, 24 Aug 2007 10:05:48 -0400

Works with the estd pkg

Info gleaned from FreeBSD/NetBSD and backported here .. their versions of est.c are considerably
newer.. I'm not sure how to verify (except by wall clock run time) that it's actually stepping down
correctly ...



Index: est.c
===================================================================
RCS file: /usr/dfly/repo/src/sys/platform/pc32/i386/est.c,v
retrieving revision 1.8
diff -u -r1.8 est.c
--- est.c	30 Apr 2007 16:39:20 -0000	1.8
+++ est.c	16 May 2007 21:00:28 -0000
@@ -431,6 +431,18 @@
 	{  800,  988 }
 };

+/* Intel Pentium Core Duo T2300 */
+static const struct fq_info pentium_core_duo[] = {
+	{ 1666, 1404 },
+	{ 1500, 1404 },
+	{ 1333, 1404 },
+	{ 1167, 1404 },
+	{ 1000, 1004 },
+	{  667, 1004 },
+	{  333, 1004 },
+	{  167, 1004 },
+};
+
 struct fqlist {
 	const char *brand_tag;
 	const u_int cpu_id;
@@ -487,7 +499,15 @@
 	ENTRY("2.13", 0x06d8, pentium_m_n770, 4),
 	ENTRY("2.13", 0x06d8, pentium_m_n770_2, 4),

+
 };
+
+static const struct fqlist pentium_yonah[] = {
+
+	/* 666 MHz FSB CPUs */
+        ENTRY("1.66", 0x06e8, pentium_core_duo, 5 ),
+};
+
 #undef ENTRY

 struct est_cpu {
@@ -508,6 +528,11 @@
 		(sizeof(pentium_m_dothan) / sizeof(pentium_m_dothan[0])),
 		pentium_m_dothan
 	},
+	{
+		"Genuine Intel(R) CPU           T2300  @ ", "GHz",
+		(sizeof(pentium_yonah) / sizeof(pentium_yonah[0])),
+		pentium_yonah
+	},
 };

 #define NESTCPUS  (sizeof(est_cpus) / sizeof(est_cpus[0]))



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]