diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2015-03-25 16:23:49 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2015-03-31 13:02:36 +1100 |
commit | 995df527f3990d91fe8f3d7d1917a7adc3938320 (patch) | |
tree | b79901f58f1ca5dbf776d31eab4d227e6f73f856 /drivers/zorro/proc.c | |
parent | b07579c0924eee1543eb6cd2c19544d15a4b5236 (diff) | |
download | op-kernel-dev-995df527f3990d91fe8f3d7d1917a7adc3938320.zip op-kernel-dev-995df527f3990d91fe8f3d7d1917a7adc3938320.tar.gz |
PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable()
VFs are dynamically created when a driver enables them. On some platforms,
like PowerNV, special resources are necessary to enable VFs.
Add platform hooks for enabling and disabling VFs.
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/zorro/proc.c')
0 files changed, 0 insertions, 0 deletions