summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>1999-08-27 08:09:04 +0000
committerKATO Takenori <kato@FreeBSD.org>1999-08-27 08:09:04 +0000
commitb6bb3dde04b5ce4f8ed4699004ef8e8471057dd2 (patch)
tree7375de870ea1f9be47ced79c3384a18ff54c9e99
parent8b5558ad77e4487f37218c083564ef32a15fdc1f (diff)
Notes
-rw-r--r--sys/i386/i386/identcpu.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c
index 3a6956fd0adf..c83da7783b52 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.57.2.4 1999/07/06 06:49:47 green Exp $
+ * $Id: identcpu.c,v 1.57.2.5 1999/07/06 17:21:48 green Exp $
*/
#include "opt_cpu.h"
@@ -852,6 +852,20 @@ finishidentcpu(void)
break;
}
}
+ } else if (cpu == CPU_486 && *cpu_vendor == '\0') {
+ /*
+ * There are BlueLightning CPUs that do not change
+ * undefined flags by dividing 5 by 2. In this case,
+ * the CPU identification routine in locore.s leaves
+ * cpu_vendor null string and puts CPU_486 into the
+ * cpu.
+ */
+ isblue = identblue();
+ if (isblue == IDENTBLUE_IBMCPU) {
+ strcpy(cpu_vendor, "IBM");
+ cpu = CPU_BLUE;
+ return;
+ }
}
}