diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-06 23:25:14 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-09-06 23:25:14 -0700 |
commit | 55057660f035a03078910d678e5fd9b0cb0b795a (patch) | |
tree | 236e614d114d50a6f64d86f2b299eed18e4c691e /linux-core/drm_stub.c | |
parent | d5726761858b1ff0fd6e6ee92ec1648fbb958a53 (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/drm_stub.c')
-rw-r--r-- | linux-core/drm_stub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c index bdc36552..4708222f 100644 --- a/linux-core/drm_stub.c +++ b/linux-core/drm_stub.c @@ -66,6 +66,8 @@ static int drm_fill_in_dev(drm_device_t * dev, struct pci_dev *pdev, mutex_init(&dev->ctxlist_mutex); dev->pdev = pdev; + dev->pci_device = pdev->device; + dev->pci_vendor = pdev->vendor; #ifdef __alpha__ dev->hose = pdev->sysdata; |