summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2002-09-19 18:53:49 +0000
committermdodd <mdodd@FreeBSD.org>2002-09-19 18:53:49 +0000
commitb2eb3d57ff032ce0f305469f8e75f30f6dd6e467 (patch)
tree75ca2eafd893cec740607aca3cb8d16e3441c8a2 /sys/i386
parent077f31b2a19dfc472d3a8c6d827d727ae3c69bba (diff)
downloadFreeBSD-src-b2eb3d57ff032ce0f305469f8e75f30f6dd6e467.zip
FreeBSD-src-b2eb3d57ff032ce0f305469f8e75f30f6dd6e467.tar.gz
This patch enables FreeBSD i686 MTRR support on Intel Pentium
4/XEON processors, which are not currently recognized. Submitted by: Christian Zander <zander@minion.de>
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/i686_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/i386/i686_mem.c b/sys/i386/i386/i686_mem.c
index 672e63f..fcff3ce 100644
--- a/sys/i386/i386/i686_mem.c
+++ b/sys/i386/i386/i686_mem.c
@@ -602,7 +602,7 @@ i686_mem_drvinit(void *unused)
{
/* 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;
OpenPOWER on IntegriCloud