svn commit: r203289 - head/sys/i386/i386
Robert Noland
rnoland at FreeBSD.org
Sun Jan 31 14:35:50 UTC 2010
Author: rnoland
Date: Sun Jan 31 14:35:49 2010
New Revision: 203289
URL: http://svn.freebsd.org/changeset/base/203289
Log:
Enable MTRR on all VIA CPUs that claim support.
This may not be entirely correct either, but the existing check is
bogus. I have both a C3 and a C7 that fail this check, but work fine.
MFC after: 2 weeks
Modified:
head/sys/i386/i386/i686_mem.c
Modified: head/sys/i386/i386/i686_mem.c
==============================================================================
--- head/sys/i386/i386/i686_mem.c Sun Jan 31 14:30:39 2010 (r203288)
+++ head/sys/i386/i386/i686_mem.c Sun Jan 31 14:35:49 2010 (r203289)
@@ -707,11 +707,8 @@ i686_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;
}
More information about the svn-src-all
mailing list