Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2010 01:20:33 +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: r203367 - head/sys/amd64/amd64
Message-ID:  <201002020120.o121KXw2029115@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rnoland
Date: Tue Feb  2 01:20:33 2010
New Revision: 203367
URL: http://svn.freebsd.org/changeset/base/203367

Log:
  Enable MTRR on all VIA CPUs that claim support (amd64).
  
  This is the amd64 part of r203289.
  
  Noticed by:	jhb
  MFC after:	2 weeks

Modified:
  head/sys/amd64/amd64/amd64_mem.c

Modified: head/sys/amd64/amd64/amd64_mem.c
==============================================================================
--- head/sys/amd64/amd64/amd64_mem.c	Tue Feb  2 00:32:15 2010	(r203366)
+++ head/sys/amd64/amd64/amd64_mem.c	Tue Feb  2 01:20:33 2010	(r203367)
@@ -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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002020120.o121KXw2029115>