diff options
author | Sascha El-Sharkawy <elscha@sse.uni-hildesheim.de> | 2017-09-20 08:44:20 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-10-05 15:54:58 -0500 |
commit | ad581f869e809e727e7d57a07c81f349221a4276 (patch) | |
tree | 33756d0bf71b821120dfd437e889e73a6ddbd8ec /drivers/pci | |
parent | 79e699b648b93f76d0f6e692499d5c6a2295ef05 (diff) | |
download | linux-ad581f869e809e727e7d57a07c81f349221a4276.tar.gz linux-ad581f869e809e727e7d57a07c81f349221a4276.tar.bz2 linux-ad581f869e809e727e7d57a07c81f349221a4276.zip |
PCI: Add Kconfig PCI_IOV dependency for PCI_REALLOC_ENABLE_AUTO
Ensure only valid Kconfig configurations for PCI_REALLOC_ENABLE_AUTO. This
is done by selecting PCI_IOV, which is required by PCI_REALLOC_ENABLE_AUTO
to work.
Signed-off-by: Sascha El-Sharkawy <elscha@sse.uni-hildesheim.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index c32a77fc8b03..f9661b03399b 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -42,13 +42,13 @@ config PCI_DEBUG config PCI_REALLOC_ENABLE_AUTO bool "Enable PCI resource re-allocation detection" depends on PCI + depends on PCI_IOV help Say Y here if you want the PCI core to detect if PCI resource re-allocation needs to be enabled. You can always use pci=realloc=on - or pci=realloc=off to override it. Note this feature is a no-op - unless PCI_IOV support is also enabled; in that case it will - automatically re-allocate PCI resources if SR-IOV BARs have not - been allocated by the BIOS. + or pci=realloc=off to override it. It will automatically + re-allocate PCI resources if SR-IOV BARs have not been allocated by + the BIOS. When in doubt, say N. |