summaryrefslogtreecommitdiff
path: root/bsd/drm_os_netbsd.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-10-20 00:55:56 +0000
committerEric Anholt <anholt@freebsd.org>2003-10-20 00:55:56 +0000
commit6b0424fdcdec9d12943718e4542659c8bca019da (patch)
tree8204d253de6699a0584227883e7519a4d4b8f9b6 /bsd/drm_os_netbsd.h
parent0cf1887139eb1ce18d09f7be0567aa93d802040d (diff)
Clean up BSD MTRR handling. The NetBSD code is untested, but it's my best
shot.
Diffstat (limited to 'bsd/drm_os_netbsd.h')
-rw-r--r--bsd/drm_os_netbsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd/drm_os_netbsd.h b/bsd/drm_os_netbsd.h
index 7653b05e..1554d24d 100644
--- a/bsd/drm_os_netbsd.h
+++ b/bsd/drm_os_netbsd.h
@@ -136,6 +136,8 @@ extern const int DRM(M_DRM) = M_DEVBUF;
#define DRM_WRITE8(map, offset, val) bus_space_write_1( (map)->iot, (map)->ioh, (offset), (val) )
#define DRM_WRITE32(map, offset, val) bus_space_write_4( (map)->iot, (map)->ioh, (offset), (val) )
+#define DRM_MTRR_WC MTRR_TYPE_WC
+
#define DRM_AGP_FIND_DEVICE() agp_find_device(0)
#define LOCK_TEST_WITH_RETURN(dev, filp) \