From: Bjorn Helgaas Date: Wed, 6 Nov 2013 17:00:51 +0000 (-0700) Subject: PCI: Enable upstream bridges even for VFs on virtual buses X-Git-Tag: v3.13-rc1~95^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79272138bd5c35edb9be5ae7b473a2741751a706;p=pandora-kernel.git 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 Acked-by: Yinghai Lu --- Reading git-diff-tree failed