diff options
| author | Brian Feldman <green@FreeBSD.org> | 1999-10-12 22:53:05 +0000 |
|---|---|---|
| committer | Brian Feldman <green@FreeBSD.org> | 1999-10-12 22:53:05 +0000 |
| commit | 87674bdf2adea4c066e0fc3938a4205d6938725b (patch) | |
| tree | 1038958e28d1662b96725a80a99d00378214cab3 /sys/amd64 | |
| parent | 44f4e4fe20985d5eee47af3e3807e159904e2ccb (diff) | |
Notes
Diffstat (limited to 'sys/amd64')
| -rw-r--r-- | sys/amd64/amd64/amd64_mem.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/amd64/amd64/amd64_mem.c b/sys/amd64/amd64/amd64_mem.c index 4be3d13dd7a8..90b72b4fcecd 100644 --- a/sys/amd64/amd64/amd64_mem.c +++ b/sys/amd64/amd64/amd64_mem.c @@ -575,9 +575,10 @@ static void i686_mem_drvinit(void *unused) { /* Try for i686 MTRRs */ - if (!strcmp(cpu_vendor, "GenuineIntel") && - cpu_feature & CPUID_MTRR && - (cpu_id & 0xf00) == 0x600) { + if ((cpu_feature & CPUID_MTRR) && + ((cpu_id & 0xf00) == 0x600) && + ((strcmp(cpu_vendor, "GenuineIntel") == 0) || + (strcmp(cpu_vendor, "AuthenticAMD") == 0))) { mem_range_softc.mr_op = &i686_mrops; } } |
