Browse Source

PCI: iproc: Add PCI_DOMAIN dependency to PCI Kconfig

2+ PCI devices fail to be discovered due to each bus having the same PCI
domain.  This is because the domain defined in the device tree file is not
being added due to PCI_DOMAIN not being enabled.  So, every PCI bus has a
domain of zero.  When PCI_DOMAIN is selected by the Kconfig, it picks up
the domain defined in the device tree file and everything works as
expected.

Since both PCIE_IPROC_PLATFORM and PCIE_IPROC_BCMA need PCI_DOMAIN, move
it to PCIE_IPROC so it will be automatically selected for both.

Signed-off-by: Jon Mason <jonmason@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Jon Mason 8 years ago
parent
commit
e584b06c47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/pci/host/Kconfig

+ 1 - 1
drivers/pci/host/Kconfig

@@ -95,6 +95,7 @@ config PCI_VERSATILE
 
 
 config PCIE_IPROC
 config PCIE_IPROC
 	tristate
 	tristate
+	select PCI_DOMAINS
 	help
 	help
 	  This enables the iProc PCIe core controller support for Broadcom's
 	  This enables the iProc PCIe core controller support for Broadcom's
 	  iProc family of SoCs. An appropriate bus interface driver needs
 	  iProc family of SoCs. An appropriate bus interface driver needs
@@ -115,7 +116,6 @@ config PCIE_IPROC_BCMA
 	depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
 	depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
 	select PCIE_IPROC
 	select PCIE_IPROC
 	select BCMA
 	select BCMA
-	select PCI_DOMAINS
 	default ARCH_BCM_5301X
 	default ARCH_BCM_5301X
 	help
 	help
 	  Say Y here if you want to use the Broadcom iProc PCIe controller
 	  Say Y here if you want to use the Broadcom iProc PCIe controller