summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drmP.h
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2008-12-18 21:58:57 +0000
committerrnoland <rnoland@FreeBSD.org>2008-12-18 21:58:57 +0000
commit1b619f003f0ae3753c45e1ac9f611f963c55fdfa (patch)
tree5d5d17dbfa906c0204b3a0b45d8edbbe2c8be665 /sys/dev/drm/drmP.h
parent982a9ea01c07de2341d7967f7d0978eec307c9af (diff)
downloadFreeBSD-src-1b619f003f0ae3753c45e1ac9f611f963c55fdfa.zip
FreeBSD-src-1b619f003f0ae3753c45e1ac9f611f963c55fdfa.tar.gz
We only want drm to ever attach to the primary pci device.
Intel 855 chips present the same pci id for both heads. This prevents us from attaching to the dummy second head. All other chips that I am aware of either only present a single pci id, or different ids for each head so that we only match on the correct head. Approved by: kib@ MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/drmP.h')
-rw-r--r--sys/dev/drm/drmP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h
index 9fb29f9..18fc8b7 100644
--- a/sys/dev/drm/drmP.h
+++ b/sys/dev/drm/drmP.h
@@ -87,6 +87,7 @@ struct drm_file;
#include <sys/agpio.h>
#include <sys/mutex.h>
#include <dev/pci/pcivar.h>
+#include <dev/pci/pcireg.h>
#include <sys/selinfo.h>
#include <sys/bus.h>
OpenPOWER on IntegriCloud