aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm/drm_os_freebsd.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-08-22 05:54:52 +0000
committerWarner Losh <imp@FreeBSD.org>2003-08-22 05:54:52 +0000
commit4fbd232c8640bb1d58dca36e50df7c1c8eb4ca72 (patch)
tree633ff3cbdbfdb63210ca731968f72ea813a82ed7 /sys/dev/drm/drm_os_freebsd.h
parent3c5a69f7d0cda4d5da3e70514357a4a4989ceb03 (diff)
Prefer new location of pci include files (which have only been in the
tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
Notes
Notes: svn path=/head/; revision=119277
Diffstat (limited to 'sys/dev/drm/drm_os_freebsd.h')
-rw-r--r--sys/dev/drm/drm_os_freebsd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_os_freebsd.h b/sys/dev/drm/drm_os_freebsd.h
index 745b4e71c5e4..bfcdce97b35d 100644
--- a/sys/dev/drm/drm_os_freebsd.h
+++ b/sys/dev/drm/drm_os_freebsd.h
@@ -61,10 +61,11 @@
#include <sys/mman.h>
#include <sys/rman.h>
#include <sys/memrange.h>
-#include <pci/pcivar.h>
#if __FreeBSD_version >= 500000
+#include <dev/pci/pcivar.h>
#include <sys/selinfo.h>
#else
+#include <pci/pcivar.h>
#include <sys/select.h>
#endif
#include <sys/bus.h>