Subject: Re: problems with Pentium 4?
To: Mike Saunders <method@method.cx>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: port-i386
Date: 10/31/2001 20:34:58
Mike,

Mike Saunders wrote:
> 	I actualy do have the 1.458 version of machdep.c.  If this doesn't
> work I'll just snag the sources via cvs and start over.  Thanks.

apparently, the array entry for Pentium4 was not correct, it was
incorrect similar way the entry for PIII was. This patch should
fix it (with some possible line offset):

Index: machdep.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/i386/machdep.c,v
retrieving revision 1.458
diff -u -p -r1.458 machdep.c
--- machdep.c	2001/10/28 16:17:05	1.458
+++ machdep.c	2001/10/31 19:37:57
@@ -718,8 +715,8 @@ const struct cpu_cpuid_nameclass i386_cp
 		{
 			CPUCLASS_686,
 			{
-				0, 0, 0, 0, 0, 0, 0,
 				0, 0, 0, 0, 0, 0, 0, 0, 0,
+				0, 0, 0, 0, 0, 0, 0, 0, 0,
 				"Pentium 4"	/* Default */
 			},
 			NULL,

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=  Those who would give up liberty for a little temporary safety deserve  =-
-=  neither liberty nor safety, and will lose both.  -- Benjamin Franklin  =-