diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2015-03-25 16:23:48 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-03-31 13:02:36 +1100 |
commit | b07579c0924eee1543eb6cd2c19544d15a4b5236 (patch) | |
tree | cb0f9cd7ec419b1abb41d4fd72d08528a1cc99d3 /drivers/pci/pci-stub.c | |
parent | 4449f079722c86d2f6925da039835acdd8e973a8 (diff) | |
download | op-kernel-dev-b07579c0924eee1543eb6cd2c19544d15a4b5236.zip op-kernel-dev-b07579c0924eee1543eb6cd2c19544d15a4b5236.tar.gz |
PCI: Export pci_iov_virtfn_bus() and pci_iov_virtfn_devfn()
On PowerNV, some resource reservation is needed for SR-IOV VFs that don't
exist at the bootup stage. To do the match between resources and VFs, the
code need to get the VF's BDF in advance.
Rename virtfn_bus() and virtfn_devfn() to pci_iov_virtfn_bus() and
pci_iov_virtfn_devfn() and export them.
[bhelgaas: changelog, make "busnr" int]
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/pci/pci-stub.c')
0 files changed, 0 insertions, 0 deletions