diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-10-20 00:55:56 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-10-20 00:55:56 +0000 |
commit | 6b0424fdcdec9d12943718e4542659c8bca019da (patch) | |
tree | 8204d253de6699a0584227883e7519a4d4b8f9b6 /bsd/drm_os_freebsd.h | |
parent | 0cf1887139eb1ce18d09f7be0567aa93d802040d (diff) |
Clean up BSD MTRR handling. The NetBSD code is untested, but it's my best
shot.
Diffstat (limited to 'bsd/drm_os_freebsd.h')
-rw-r--r-- | bsd/drm_os_freebsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd/drm_os_freebsd.h b/bsd/drm_os_freebsd.h index 320db342..33bdcd20 100644 --- a/bsd/drm_os_freebsd.h +++ b/bsd/drm_os_freebsd.h @@ -171,6 +171,8 @@ typedef void irqreturn_t; #define DRM_AGP_FIND_DEVICE() agp_find_device() #define DRM_ERR(v) v +#define DRM_MTRR_WC MDF_WRITECOMBINE + #define LOCK_TEST_WITH_RETURN(dev, filp) \ do { \ if (!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) || \ |