1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-14 14:55:41 +00:00

Fix rare 6x86 CPU whose DIR0 = 0x20 - 0x28 case.

This commit is contained in:
KATO Takenori 1997-11-05 15:12:44 +00:00
parent f668085d2d
commit f9c1acbf97
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30964
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.29 1997/10/03 14:23:47 kato Exp $
* $Id: identcpu.c,v 1.30 1997/10/28 11:43:43 bde Exp $
*/
#include "opt_cpu.h"
@ -638,7 +638,7 @@ finishidentcpu(void)
cpu = CPU_CY486DX;
break;
case 0x20:
if ((cyrix_did & 0x00f0) < 8)
if ((cyrix_did & 0x000f) < 8)
cpu = CPU_M1;
else
cpu = CPU_M1SC;

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.29 1997/10/03 14:23:47 kato Exp $
* $Id: identcpu.c,v 1.30 1997/10/28 11:43:43 bde Exp $
*/
#include "opt_cpu.h"
@ -638,7 +638,7 @@ finishidentcpu(void)
cpu = CPU_CY486DX;
break;
case 0x20:
if ((cyrix_did & 0x00f0) < 8)
if ((cyrix_did & 0x000f) < 8)
cpu = CPU_M1;
else
cpu = CPU_M1SC;