diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-26 06:39:55 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-26 06:39:55 +0000 |
commit | acb5d6b2732cccfa3734b25dc808ecdc5a6c556c (patch) | |
tree | 69ff69322b1f5862004bc11c8034f2d44aeb7cbb | |
parent | cb32dde3be831096e98c66398159f7d7ddf3d672 (diff) |
Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
setting for AGP cards on SMP machines.
-rw-r--r-- | bsd-core/drm_os_freebsd.h | 2 | ||||
-rw-r--r-- | bsd/drm_os_freebsd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsd-core/drm_os_freebsd.h b/bsd-core/drm_os_freebsd.h index 06cf4f4f..461a26ce 100644 --- a/bsd-core/drm_os_freebsd.h +++ b/bsd-core/drm_os_freebsd.h @@ -49,7 +49,7 @@ #endif #ifdef __i386__ -#define __REALLY_HAVE_MTRR (__HAVE_MTRR) +#define __REALLY_HAVE_MTRR (__HAVE_MTRR) && (__FreeBSD_version >= 500000) #else #define __REALLY_HAVE_MTRR 0 #endif diff --git a/bsd/drm_os_freebsd.h b/bsd/drm_os_freebsd.h index 06cf4f4f..461a26ce 100644 --- a/bsd/drm_os_freebsd.h +++ b/bsd/drm_os_freebsd.h @@ -49,7 +49,7 @@ #endif #ifdef __i386__ -#define __REALLY_HAVE_MTRR (__HAVE_MTRR) +#define __REALLY_HAVE_MTRR (__HAVE_MTRR) && (__FreeBSD_version >= 500000) #else #define __REALLY_HAVE_MTRR 0 #endif |