summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2010-02-02 01:20:33 +0000
committerrnoland <rnoland@FreeBSD.org>2010-02-02 01:20:33 +0000
commit4bbdc41fe9f4d06b09d1a7d03aa1521cb317007c (patch)
tree1eb89ec88b3ec54a5705dfcbd66014b0332a8ac4
parent9cf63ca8dd4ae58d596a54d021d3c009c7387eac (diff)
downloadFreeBSD-src-4bbdc41fe9f4d06b09d1a7d03aa1521cb317007c.zip
FreeBSD-src-4bbdc41fe9f4d06b09d1a7d03aa1521cb317007c.tar.gz
Enable MTRR on all VIA CPUs that claim support (amd64).
This is the amd64 part of r203289. Noticed by: jhb MFC after: 2 weeks
-rw-r--r--sys/amd64/amd64/amd64_mem.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/amd64/amd64/amd64_mem.c b/sys/amd64/amd64/amd64_mem.c
index d7959fd..e50d3e7 100644
--- a/sys/amd64/amd64/amd64_mem.c
+++ b/sys/amd64/amd64/amd64_mem.c
@@ -707,11 +707,8 @@ amd64_mem_drvinit(void *unused)
switch (cpu_vendor_id) {
case CPU_VENDOR_INTEL:
case CPU_VENDOR_AMD:
- break;
case CPU_VENDOR_CENTAUR:
- if (cpu_exthigh >= 0x80000008)
- break;
- /* FALLTHROUGH */
+ break;
default:
return;
}
OpenPOWER on IntegriCloud