Files
linux/include
Bjorn Helgaas 19d6021524 PCI: Add pci_upstream_bridge()
commit c6bde215ac upstream.

This adds a pci_upstream_bridge() interface to find the PCI-to-PCI bridge
upstream from a device.  This is typically just "dev->bus->self", but in
the case of a VF on a virtual bus, we have to start from the corresponding
PF.  Returns NULL if there is no upstream PCI bridge, i.e., if the device
is on a root bus.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2014-09-07 18:20:17 +01:00
..
2014-04-18 11:05:05 +02:00
2014-09-07 18:20:17 +01:00
2013-04-30 17:04:09 -07:00