Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm/i915 Restore usage o...
details: https://anonhg.NetBSD.org/src/rev/1f182ed572cb
branches: riastradh-drm2
changeset: 788356:1f182ed572cb
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 03:24:21 2013 +0000
description:
Restore usage of pci_get_bus_and_slot in i915_get_bridge_dev.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/i915_dma.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diffs (15 lines):
diff -r 6c4fa8301355 -r 1f182ed572cb sys/external/bsd/drm2/dist/drm/i915/i915_dma.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c Wed Jul 24 03:24:03 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c Wed Jul 24 03:24:21 2013 +0000
@@ -1160,11 +1160,7 @@
{
struct drm_i915_private *dev_priv = dev->dev_private;
-#ifdef __NetBSD__
- dev_priv->bridge_dev = pci_kludgey_find_dev(dev->pdev, 0, 0, 0);
-#else
dev_priv->bridge_dev = pci_get_bus_and_slot(0, PCI_DEVFN(0, 0));
-#endif
if (!dev_priv->bridge_dev) {
DRM_ERROR("bridge device not found\n");
return -1;
Home |
Main Index |
Thread Index |
Old Index