On Wed, Aug 17, 2022 at 03:27:51PM +1000, Jonathan Gray wrote: > broken after rev 1.652 of machdep.c > > cpu0: Intel(R) Pentium(R) M processor 1200MHz ("GenuineIntel" 686-class) 1.20 > GHz, 06-09-05 > cpu0: Intel(R) Pentium(R) M processor 1200MHz ("GenuineIntel" -class) 1.20 > GHz, 06-09-05 > > CPUCLASS_* can't be renumbered as machdep.c assumes class is > family - 3 in at least one path. 486 is family 4, so class 1 > > Index: sys/arch/i386/i386/machdep.c > =================================================================== > RCS file: /cvs/src/sys/arch/i386/i386/machdep.c,v > retrieving revision 1.652 > diff -u -p -r1.652 machdep.c > --- sys/arch/i386/i386/machdep.c 15 Aug 2022 04:17:50 -0000 1.652 > +++ sys/arch/i386/i386/machdep.c 17 Aug 2022 05:18:29 -0000 > @@ -509,6 +509,7 @@ const struct cpu_nocpuid_nameclass i386_ > }; > > const char *classnames[] = { > + "", > "486", > "586", > "686" >
ok mlarkin if not already committed