Recognize AMD K5 PR166 and PR200 CPUs.

This commit is contained in:
kato 1997-06-24 09:45:35 +00:00
parent 74cf150aa3
commit bb2afa5330
2 changed files with 14 additions and 2 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp * from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.23 1997/06/02 08:19:02 dfr Exp $ * $Id: identcpu.c,v 1.24 1997/06/02 18:55:44 peter Exp $
*/ */
#include "opt_cpu.h" #include "opt_cpu.h"
@ -184,6 +184,12 @@ printcpuinfo(void)
case 0x510: case 0x510:
strcat(cpu_model, "K5 model 1"); strcat(cpu_model, "K5 model 1");
break; break;
case 0x520:
strcat(cpu_model, "K5 PR166");
break;
case 0x530:
strcat(cpu_model, "K5 PR200");
break;
case 0x560: case 0x560:
strcat(cpu_model, "K6"); strcat(cpu_model, "K6");
break; break;

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp * from: Id: machdep.c,v 1.193 1996/06/18 01:22:04 bde Exp
* $Id: identcpu.c,v 1.23 1997/06/02 08:19:02 dfr Exp $ * $Id: identcpu.c,v 1.24 1997/06/02 18:55:44 peter Exp $
*/ */
#include "opt_cpu.h" #include "opt_cpu.h"
@ -184,6 +184,12 @@ printcpuinfo(void)
case 0x510: case 0x510:
strcat(cpu_model, "K5 model 1"); strcat(cpu_model, "K5 model 1");
break; break;
case 0x520:
strcat(cpu_model, "K5 PR166");
break;
case 0x530:
strcat(cpu_model, "K5 PR200");
break;
case 0x560: case 0x560:
strcat(cpu_model, "K6"); strcat(cpu_model, "K6");
break; break;