From: Wei Yang Date: Wed, 25 Mar 2015 08:23:49 +0000 (+0800) Subject: PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable() X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~7^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=995df527f3990d91fe8f3d7d1917a7adc3938320;p=pandora-kernel.git 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 Acked-by: Bjorn Helgaas Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed