diff options
-rw-r--r-- | sys/amd64/amd64/amd64_mem.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/i686_mem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/amd64_mem.c b/sys/amd64/amd64/amd64_mem.c index 672e63f..fcff3ce 100644 --- a/sys/amd64/amd64/amd64_mem.c +++ b/sys/amd64/amd64/amd64_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; 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; |