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
This commit is contained in:
rnoland 2010-01-31 14:35:49 +00:00
parent 4f2c2891b7
commit 5c7ad05f88

View File

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