summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-driver.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-11-06 18:00:51 +0100
committerBjorn Helgaas <bhelgaas@google.com>2013-11-07 22:53:39 +0100
commit79272138bd5c35edb9be5ae7b473a2741751a706 (patch)
tree0017bfd5e4bb584e59ed1852d41609cb3953c913 /drivers/pci/pci-driver.c
parentPCI: Add pci_upstream_bridge() (diff)
downloadlinux-79272138bd5c35edb9be5ae7b473a2741751a706.tar.xz
linux-79272138bd5c35edb9be5ae7b473a2741751a706.zip
PCI: Enable upstream bridges even for VFs on virtual buses
Previously we enabled the upstream PCI-to-PCI bridge only when "dev->bus->self != NULL". In the case of a VF on a virtual bus, where "bus->self == NULL", we didn't enable the upstream bridge. This fixes that by enabling the upstream bridge of the PF corresponding to the VF. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'drivers/pci/pci-driver.c')
0 files changed, 0 insertions, 0 deletions