diff options
author | markm <markm@FreeBSD.org> | 2004-04-09 17:00:03 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2004-04-09 17:00:03 +0000 |
commit | c985e44a3d501bc5ebeca3a2275ae1a58a45725e (patch) | |
tree | d50e6351a6059267e3153c42cef16974678d77e2 /sys/i386 | |
parent | 6e3cdee7a5532432668b22ee224a8d2183438a89 (diff) | |
download | FreeBSD-src-c985e44a3d501bc5ebeca3a2275ae1a58a45725e.zip FreeBSD-src-c985e44a3d501bc5ebeca3a2275ae1a58a45725e.tar.gz |
I hate noticing bugs after committing. :-(
ALWAYS set up the CPU base identity string. THEN optionally
add features.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/identcpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |