summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-09-06 23:25:14 -0700
committerEric Anholt <eric@anholt.net>2006-09-06 23:25:14 -0700
commit55057660f035a03078910d678e5fd9b0cb0b795a (patch)
tree236e614d114d50a6f64d86f2b299eed18e4c691e /linux-core/drmP.h
parentd5726761858b1ff0fd6e6ee92ec1648fbb958a53 (diff)
Put the PCI device/vendor id in the drm_device_t.
This helps us unbreak FreeBSD DRM from the 965 changes.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 6046dde6..70bf3495 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -747,6 +747,8 @@ typedef struct drm_device {
drm_agp_head_t *agp; /**< AGP data */
struct pci_dev *pdev; /**< PCI device structure */
+ int pci_vendor; /**< PCI vendor id */
+ int pci_device; /**< PCI device id */
#ifdef __alpha__
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,3)
struct pci_controler *hose;