summaryrefslogtreecommitdiff
path: root/bsd-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 /bsd-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 'bsd-core/drmP.h')
-rw-r--r--bsd-core/drmP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index e6c1d060..6fa39734 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -714,6 +714,9 @@ struct drm_device {
struct drm_driver_info driver;
drm_pci_id_list_t *id_entry; /* PCI ID, name, and chipset private */
+ u_int16_t pci_device; /* PCI device id */
+ u_int16_t pci_vendor; /* PCI vendor id */
+
char *unique; /* Unique identifier: e.g., busid */
int unique_len; /* Length of unique field */
#ifdef __FreeBSD__