]> Pileus Git - ~andy/linux/commit
PCI: add a PCI resource reallocation config option
authorYinghai Lu <yinghai@kernel.org>
Fri, 24 Feb 2012 03:23:32 +0000 (19:23 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 24 Feb 2012 17:38:59 +0000 (09:38 -0800)
commitb07f2ebc109b607789f648dedcff4b125f9afec6
tree3868d50119a2ba1721914e9b53f12d996c5d45b4
parenteb572e7c76f154d75f90a783924f88afc34d5fec
PCI: add a PCI resource reallocation config option

Add a new config option, PCI_REALLOC_ENABLE_AUTO, which will
automatically try to re-allocate PCI resources if PCI_IOV support is
enabled and the SR-IOV resources are unassigned.  Behavior can still be
controlled using the pci=realloc= parameter.

-v2: According to Jesse, adding one CONFIG option for distribution to
     disable it or enable it.
-v3: update Kconfig text (jbarnes)

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/Kconfig
drivers/pci/setup-bus.c