Message ID | 1411573068-12952-7-git-send-email-rric@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Sep 24, 2014 at 04:37:48PM +0100, Robert Richter wrote: > From: Robert Richter <rrichter@cavium.com> > > Enable Cavium Thunder PCIe host controller driver. > > IOV is enabled per default if drivers with IOV support are > enabled. IOV can be disabled. > > Signed-off-by: Robert Richter <rrichter@cavium.com> > --- > arch/arm64/Kconfig | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 97777e1ef5a7..bd9724e5c8a1 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -172,6 +172,14 @@ config PCI > config PCI_MSI > def_bool PCI > > +config NO_PCI_IOV > + def_bool PCI > + depends on !PCI_THUNDER > + > +config PCI_IOV > + def_bool PCI > + depends on !NO_PCI_IOV Does this work with single image where drivers may have different PCI_IOV needs?
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 97777e1ef5a7..bd9724e5c8a1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -172,6 +172,14 @@ config PCI config PCI_MSI def_bool PCI +config NO_PCI_IOV + def_bool PCI + depends on !PCI_THUNDER + +config PCI_IOV + def_bool PCI + depends on !NO_PCI_IOV + config PCI_DOMAINS def_bool PCI @@ -185,6 +193,9 @@ source "drivers/pci/Kconfig" source "drivers/pci/pcie/Kconfig" source "drivers/pci/hotplug/Kconfig" +config PCI_THUNDER + def_bool PCI + endmenu menu "Kernel Features"