summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/identcpu.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c
index 9ed2869..ba53f4e 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.70 1999/07/06 12:42:26 peter Exp $
+ * $Id: identcpu.c,v 1.71 1999/07/06 13:23:56 peter Exp $
*/
#include "opt_cpu.h"
@@ -856,6 +856,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;
+ }
}
}
OpenPOWER on IntegriCloud