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 /shared-core | |
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 'shared-core')
-rw-r--r-- | shared-core/i915_dma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index ba8c56ee..3863490c 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -31,10 +31,10 @@ #include "i915_drm.h" #include "i915_drv.h" -#define IS_I965G(dev) (dev->pdev->device == 0x2972 || \ - dev->pdev->device == 0x2982 || \ - dev->pdev->device == 0x2992 || \ - dev->pdev->device == 0x29A2) +#define IS_I965G(dev) (dev->pci_device == 0x2972 || \ + dev->pci_device == 0x2982 || \ + dev->pci_device == 0x2992 || \ + dev->pci_device == 0x29A2) /* Really want an OS-independent resettable timer. Would like to have |