summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-05-19 12:41:35 +0000
committerkato <kato@FreeBSD.org>1997-05-19 12:41:35 +0000
commit4788662bcf51ac65aa21b9ee12306922e6e585e2 (patch)
tree0cbe6161a0783a0c6aac6a4a57dc2f643885d71e /sys
parentc1e741e61696ce8ed0fcd2b0339ed410edddbc4f (diff)
downloadFreeBSD-src-4788662bcf51ac65aa21b9ee12306922e6e585e2.zip
FreeBSD-src-4788662bcf51ac65aa21b9ee12306922e6e585e2.tar.gz
Recognize AMD 486 CPUs.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/identcpu.c17
-rw-r--r--sys/i386/i386/identcpu.c17
2 files changed, 32 insertions, 2 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index 9322c9a..f04f20c 100644
--- a/sys/amd64/amd64/identcpu.c
+++ b/sys/amd64/amd64/identcpu.c
@@ -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.18 1997/05/05 14:11:09 kato Exp $
+ * $Id: identcpu.c,v 1.19 1997/05/05 14:30:00 kato Exp $
*/
#include "opt_cpu.h"
@@ -157,6 +157,21 @@ printcpuinfo(void)
*/
strcpy(cpu_model, "AMD ");
switch (cpu_id & 0xFF0) {
+ case 0x410:
+ strcat(cpu_model, "Standard Am486DX");
+ break;
+ case 0x430:
+ strcat(cpu_model, "Am486DX2/4 Write-Through");
+ break;
+ case 0x470:
+ strcat(cpu_model, "Enhanced Am486DX4 Write-Back");
+ break;
+ case 0x480:
+ strcat(cpu_model, "Enhanced Am486DX4 Write-Through");
+ break;
+ case 0x490:
+ strcat(cpu_model, "Enhanced Am486DX4 Write-Back");
+ break;
case 0x4E0:
strcat(cpu_model, "Am5x86 Write-Through");
break;
diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c
index 9322c9a..f04f20c 100644
--- a/sys/i386/i386/identcpu.c
+++ b/sys/i386/i386/identcpu.c
@@ -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.18 1997/05/05 14:11:09 kato Exp $
+ * $Id: identcpu.c,v 1.19 1997/05/05 14:30:00 kato Exp $
*/
#include "opt_cpu.h"
@@ -157,6 +157,21 @@ printcpuinfo(void)
*/
strcpy(cpu_model, "AMD ");
switch (cpu_id & 0xFF0) {
+ case 0x410:
+ strcat(cpu_model, "Standard Am486DX");
+ break;
+ case 0x430:
+ strcat(cpu_model, "Am486DX2/4 Write-Through");
+ break;
+ case 0x470:
+ strcat(cpu_model, "Enhanced Am486DX4 Write-Back");
+ break;
+ case 0x480:
+ strcat(cpu_model, "Enhanced Am486DX4 Write-Through");
+ break;
+ case 0x490:
+ strcat(cpu_model, "Enhanced Am486DX4 Write-Back");
+ break;
case 0x4E0:
strcat(cpu_model, "Am5x86 Write-Through");
break;
OpenPOWER on IntegriCloud