Date: Sun, 31 Jan 2010 14:35:49 +0000 (UTC) From: Robert Noland <rnoland@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r203289 - head/sys/i386/i386 Message-ID: <201001311435.o0VEZnxi051761@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001311435.o0VEZnxi051761>