From 4ebf3fc96b0a72021780ffc3aa717a01491c0858 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Fri, 9 Apr 2004 17:00:03 +0000 Subject: [PATCH] I hate noticing bugs after committing. :-( ALWAYS set up the CPU base identity string. THEN optionally add features. --- sys/i386/i386/identcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 1762b006df9..58c7393502e 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -546,10 +546,10 @@ printcpuinfo(void) strcpy(cpu_model, "VIA C3 Ezra-T"); break; case 0x690: + strcpy(cpu_model, "VIA C3 Nehemiah"); do_cpuid(0xc0000000, regs); if (regs[0] == 0xc0000001) { do_cpuid(0xc0000001, regs); - strcpy(cpu_model, "VIA C3 Nehemiah"); if ((cpu_id & 0xf) >= 3) if ((regs[3] & 0x0c) == 0x0c) strcat(cpu_model, "+RNG");