PCI: make SRIOV resources optional
authorYinghai Lu <yinghai@kernel.org>
Mon, 25 Jul 2011 20:08:40 +0000 (13:08 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 1 Aug 2011 18:50:31 +0000 (11:50 -0700)
commit2aceefcbd5a73059e5f52831817ec277e987440d
tree37b1a0f36a0cde11ab73d5ca2108ab94a1eb10f6
parent2bbc6942273b5b3097bd265d82227bdd84b351b2
PCI: make SRIOV resources optional

From: Yinghai Lu <yinghai@kernel.org>

Allocate resources to SRIOV BARs only after all other required
resource-requests are satisfied. Dont retry if resource allocation for SRIOV
BARs fail.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/setup-bus.c