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:
parent
f668085d2d
commit
f9c1acbf97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30964
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user