Commit ad581f86 authored by Sascha El-Sharkawy's avatar Sascha El-Sharkawy Committed by Bjorn Helgaas

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: default avatarSascha El-Sharkawy <elscha@sse.uni-hildesheim.de>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 79e699b6
...@@ -42,13 +42,13 @@ config PCI_DEBUG ...@@ -42,13 +42,13 @@ config PCI_DEBUG
config PCI_REALLOC_ENABLE_AUTO config PCI_REALLOC_ENABLE_AUTO
bool "Enable PCI resource re-allocation detection" bool "Enable PCI resource re-allocation detection"
depends on PCI depends on PCI
depends on PCI_IOV
help help
Say Y here if you want the PCI core to detect if PCI resource 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 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 or pci=realloc=off to override it. It will automatically
unless PCI_IOV support is also enabled; in that case it will re-allocate PCI resources if SR-IOV BARs have not been allocated by
automatically re-allocate PCI resources if SR-IOV BARs have not the BIOS.
been allocated by the BIOS.
When in doubt, say N. When in doubt, say N.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment