summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-10-03 14:23:47 +0000
committerkato <kato@FreeBSD.org>1997-10-03 14:23:47 +0000
commit24a6bdc01c91890afdeda4087b6f08cbe270baa0 (patch)
tree273559449b84f1aaa39476aebaaf574c6e630bfb /sys/amd64
parent38670229e74ce329781c225a47f07903e84285bf (diff)
downloadFreeBSD-src-24a6bdc01c91890afdeda4087b6f08cbe270baa0.zip
FreeBSD-src-24a6bdc01c91890afdeda4087b6f08cbe270baa0.tar.gz
Call identifycyrix() when 6x86MX CPU is found. The identifycyrix()
function sets cyrix_did. Old code could not display correct variable. Reviewed by: Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp>
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/identcpu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index ddb8d5c..57e0d48 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.27 1997/07/24 14:19:23 kato Exp $
+ * $Id: identcpu.c,v 1.28 1997/09/20 13:18:48 phk Exp $
*/
#include "opt_cpu.h"
@@ -443,7 +443,7 @@ printcpuinfo(void)
);
}
} else if (strcmp(cpu_vendor, "CyrixInstead") == 0) {
- printf(" Device ID = 0x%lx", cyrix_did);
+ printf(" DIR=0x%lx", cyrix_did);
printf(" Stepping=%ld", (cyrix_did & 0xf000) >> 12);
printf(" Revision=%ld", (cyrix_did & 0x0fff) >> 8);
#ifndef CYRIX_CACHE_REALLY_WORKS
@@ -619,6 +619,7 @@ finishidentcpu(void)
}
switch (cpu_id & 0xf00) {
case 0x600:
+ identifycyrix();
cpu = CPU_M2;
break;
default:
OpenPOWER on IntegriCloud