diff options
author | jhb <jhb@FreeBSD.org> | 2008-02-25 22:42:33 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-02-25 22:42:33 +0000 |
commit | b54152091e62752ddc63ffffe7c4735b80a73cdb (patch) | |
tree | 2d7ad98ff7e557c6d11c19bf634eadae4c6b2b5a /sys | |
parent | f77d7dfd70ab217884f2b4f8904f2c9a605ecd48 (diff) | |
download | FreeBSD-src-b54152091e62752ddc63ffffe7c4735b80a73cdb.zip FreeBSD-src-b54152091e62752ddc63ffffe7c4735b80a73cdb.tar.gz |
Support the VIA C7 Eden CPU and treat it just like a C7 Esther. We may
want to adjust this code to just assume that all CPUs >= Esther should
be checked for the extended cpuid flags register.
MFC after: 3 days
PR: i386/119491
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/i386/identcpu.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/initcpu.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 234037e..075919c 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -585,6 +585,9 @@ printcpuinfo(void) goto via_common; case 0x6a0: strcpy(cpu_model, "VIA C7 Esther"); + goto via_common; + case 0x6d0: + strcpy(cpu_model, "VIA C7 Eden"); via_common: do_cpuid(0xc0000000, regs); i = regs[0]; diff --git a/sys/i386/i386/initcpu.c b/sys/i386/i386/initcpu.c index d6ef32a..0c212e4 100644 --- a/sys/i386/i386/initcpu.c +++ b/sys/i386/i386/initcpu.c @@ -683,6 +683,7 @@ initializecpu(void) break; /* fall through. */ case 0x6a0: + case 0x6d0: init_via(); break; default: |