Subject: CPUID table entry wrong
To: None <port-i386@NetBSD.ORG>
From: Scott Telford <st@epcc.ed.ac.uk>
List: port-i386
Date: 01/14/1997 10:39:45
I was perusing my local -current archive the other day (I'm not a -current
user) and I noticed the new(ish) CPUID code in arch/i386/i386/machdep.c
(1.218).  However, I also noticed that entry 2 in the "Intel" list in
i386_cpuid_cpus[] reads "486DX" - this should be "486SX":

--- /tmp/#machdep.c~    Tue Jan 14 10:36:31 1997
+++ /tmp/machdep.c      Tue Jan 14 10:36:32 1997
@@ -462,7 +462,7 @@
                { {
                        CPUCLASS_486, 
                        {
-                               "486DX", "486DX", "486DX", "486DX2", "486SL",
+                               "486DX", "486DX", "486SX", "486DX2", "486SL",
                                "486SX2", 0, "486DX2 W/B Enhanced",
                                "486DX4", 0, 0, 0, 0, 0, 0, 0,
                                "486"           /* Default */


Also, some way of telling pre-CPUID 486SXs and DXs apart would be nice
(currently 486SXs are identified as DXs and "CPU_486SX" is unused), but I
think that's less trivial.

-- 
Scott Telford, Edinburgh Parallel Computing Centre,       <s.telford@ed.ac.uk>
University of Edinburgh, Mayfield Rd, Edinburgh EH9 3JZ, UK.(+44 131 650 5978)
"Is it a virus, a drug, or a religion?"  "What's the difference?" - Snow Crash