svn commit: r203367 - head/sys/amd64/amd64

Robert Noland rnoland at FreeBSD.org
Tue Feb 2 01:20:34 UTC 2010


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;
 	}


More information about the svn-src-all mailing list