Hi,
With several mentions of FreeBSD on/with Pentium 4s, I wanted to
bring up one thing that I noticed. At this point, the i686 MTRR
code in RELENG_4 doesn't recognize Pentium 4 or XEON processors.
As far as I can tell from the documentation, they should be. The
attached patch enables i686 MTRR support on these processors.
--
christian zander
[EMAIL PROTECTED]
diff -ru cvs/4.6/i386/i386/i686_mem.c sys/i386/i386/i686_mem.c
--- cvs/4.6/i386/i386/i686_mem.c Fri Jul 5 16:33:28 2002
+++ sys/i386/i386/i686_mem.c Fri Jul 5 16:52:59 2002
@@ -595,7 +595,7 @@
{
/* Try for i686 MTRRs */
if ((cpu_feature & CPUID_MTRR) &&
- ((cpu_id & 0xf00) == 0x600) &&
+ ((cpu_id & 0xf00) == 0x600 || (cpu_id & 0xf00) == 0xf00) &&
((strcmp(cpu_vendor, "GenuineIntel") == 0) ||
(strcmp(cpu_vendor, "AuthenticAMD") == 0))) {
mem_range_softc.mr_op = &i686_mrops;