aboutsummaryrefslogtreecommitdiff
path: root/bsd
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-04-26 06:39:55 +0000
committerEric Anholt <anholt@freebsd.org>2003-04-26 06:39:55 +0000
commitacb5d6b2732cccfa3734b25dc808ecdc5a6c556c (patch)
tree69ff69322b1f5862004bc11c8034f2d44aeb7cbb /bsd
parentcb32dde3be831096e98c66398159f7d7ddf3d672 (diff)
Disable MTRRs on FreeBSD-stable. Without this, it hangs on boot in the MTRR
setting for AGP cards on SMP machines.
Diffstat (limited to 'bsd')
-rw-r--r--bsd/drm_os_freebsd.h2
1 files changed, 1 insertions, 1 deletions
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