summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drmP.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-11-12 21:51:38 +0000
committerjhb <jhb@FreeBSD.org>2007-11-12 21:51:38 +0000
commit416921ea8bc9f79e424643d092160c48dd485029 (patch)
tree59dd9aa4c8d8e187dd99419fa3cd65f9f4fa941a /sys/dev/drm/drmP.h
parentae69575f80d2706e656f987f88f184f30aa5022e (diff)
downloadFreeBSD-src-416921ea8bc9f79e424643d092160c48dd485029.zip
FreeBSD-src-416921ea8bc9f79e424643d092160c48dd485029.tar.gz
Move the agp(4) driver from sys/pci to sys/dev/agp. __FreeBSD_version was
bumped to 800004 to note the change though userland apps should not be affected since they use <sys/agpio.h> rather than the headers in sys/dev/agp. Discussed with: anholt Repocopy by: simon
Diffstat (limited to 'sys/dev/drm/drmP.h')
-rw-r--r--sys/dev/drm/drmP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h
index 8e2855a..44c0130 100644
--- a/sys/dev/drm/drmP.h
+++ b/sys/dev/drm/drmP.h
@@ -77,7 +77,11 @@ typedef struct drm_file drm_file_t;
#if defined(__FreeBSD__)
#include <sys/rman.h>
#include <sys/memrange.h>
+#if __FreeBSD_version >= 800004
+#include <dev/agp/agpvar.h>
+#else
#include <pci/agpvar.h>
+#endif
#include <sys/agpio.h>
#if __FreeBSD_version >= 500000
#include <sys/mutex.h>
OpenPOWER on IntegriCloud