From owner-freebsd-current Thu Apr 24 00:34:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA21620 for current-outgoing; Thu, 24 Apr 1997 00:34:17 -0700 (PDT) Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA21611 for ; Thu, 24 Apr 1997 00:34:14 -0700 (PDT) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.8.4/8.8.4) with UUCP id IAA08060 for freebsd.org!freebsd-current; Thu, 24 Apr 1997 08:29:26 +0100 (BST) Received: from [194.32.164.2] by seagoon.gid.co.uk; Thu, 24 Apr 1997 08:33:36 +0100 X-Sender: rb@194.32.164.1 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 24 Apr 1997 08:31:02 +0100 To: freebsd-current@freebsd.org From: Bob Bishop Cc: Re:@gid.co.uk Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, Could some kind committer please slide this patch when if it's convenient. Ta The root of this problem appears to be that Cyrix 486 DX DX2 and DX4 (and some equivalent TI-branded parts) are correctly identified, but are misclassified as CPU_486DLC where they should be just plain CPU_486. The following patch fixes the problem: *** identcpu.c.orig Sun Apr 20 17:33:35 1997 --- identcpu.c Sun Apr 20 17:37:00 1997 *************** *** 81,87 **** { "i486SX", CPUCLASS_486 }, /* CPU_486SX */ { "i486DX", CPUCLASS_486 }, /* CPU_486 */ { "Pentium", CPUCLASS_586 }, /* CPU_586 */ ! { "Cyrix 486", CPUCLASS_486 }, /* CPU_486DLC */ { "Pentium Pro", CPUCLASS_686 }, /* CPU_686 */ { "Cyrix 5x86", CPUCLASS_486 }, /* CPU_M1SC */ { "Cyrix 6x86", CPUCLASS_486 }, /* CPU_M1 */ --- 81,87 ---- { "i486SX", CPUCLASS_486 }, /* CPU_486SX */ { "i486DX", CPUCLASS_486 }, /* CPU_486 */ { "Pentium", CPUCLASS_586 }, /* CPU_586 */ ! { "Cyrix 486", CPUCLASS_486 }, /* CPU_486 or CPU_486DLC */ { "Pentium Pro", CPUCLASS_686 }, /* CPU_686 */ { "Cyrix 5x86", CPUCLASS_486 }, /* CPU_M1SC */ { "Cyrix 6x86", CPUCLASS_486 }, /* CPU_M1 */ *************** *** 533,540 **** * Don't check (cpu_id & 0x00f0) == 0x50 to detect M2, now. */ switch (cyrix_did & 0x00f0) { - case 0x00: case 0x10: case 0xf0: cpu = CPU_486DLC; break; --- 533,543 ---- * Don't check (cpu_id & 0x00f0) == 0x50 to detect M2, now. */ switch (cyrix_did & 0x00f0) { case 0x10: + /* 486DX, DX2, DX4 doesn't need fancy initialisation */ + cpu = CPU_486; + break; + case 0x00: case 0xf0: cpu = CPU_486DLC; break; -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK