mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix rare 6x86 CPU whose DIR0 = 0x20 - 0x28 case.
This commit is contained in:
parent
f668085d2d
commit
f9c1acbf97
2 changed files with 4 additions and 4 deletions
|
|
@ -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 a new issue