From db5f6db1d3e912dd792a8013b5825b3922088bfe Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Tue, 27 May 2008 19:45:30 +0000 Subject: Since the vtophys stuff was nuked, drm now works on amd64 too. Add the relavent config goo. DRM_NO_MTRR is still needed on amd64 since the mtrr apis differ between it and i386. ok kettenis@. --- sys/dev/pci/drm/drmP.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/dev/pci/drm/drmP.h') diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h index 0d951fb9fb4..e2ca5e3e3b0 100644 --- a/sys/dev/pci/drm/drmP.h +++ b/sys/dev/pci/drm/drmP.h @@ -130,6 +130,10 @@ typedef struct drm_file drm_file_t; #include "drm_linux_list.h" #include "drm_atomic.h" +#ifdef __amd64__ +#define DRM_NO_MTRR +#endif /* Until the mtrr apis are merged. */ + #if defined(__FreeBSD__) || defined(__NetBSD__) #include #endif -- cgit v1.2.3