mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
I hate noticing bugs after committing. :-(
ALWAYS set up the CPU base identity string. THEN optionally add features.
This commit is contained in:
parent
efccc7dc25
commit
4ebf3fc96b
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue