From c985e44a3d501bc5ebeca3a2275ae1a58a45725e Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 9 Apr 2004 17:00:03 +0000 Subject: 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(-) (limited to 'sys/i386') diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 1762b00..58c7393 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"); -- cgit v1.1