summaryrefslogtreecommitdiffstats
path: root/drivers/pci/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-15 14:05:33 -0500
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-22 21:45:44 -0500
commit2eac9c2dfb2b9660d592abbf3d172ebcb0af3719 (patch)
tree456fa735e8052a6f2c629c1a832107f36bad017d /drivers/pci/Kconfig
parenteb01d42a77785ff96b6e66a2a2e7027fc6d78e4a (diff)
PCI: consolidate the PCI_DOMAINS and PCI_DOMAINS_GENERIC config options
Move the definitions to drivers/pci and let the architectures select them. Two small differences to before: PCI_DOMAINS_GENERIC now selects PCI_DOMAINS, cutting down the churn for modern architectures. As the only architectured arm did previously also offer PCI_DOMAINS as a user visible choice in addition to selecting it from the relevant configs, this is gone now. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r--drivers/pci/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index e11a02acce1b..9a2630c98be4 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -21,6 +21,15 @@ menuconfig PCI
21 support for PCI-X and the foundations for PCI Express support. 21 support for PCI-X and the foundations for PCI Express support.
22 Say 'Y' here unless you know what you are doing. 22 Say 'Y' here unless you know what you are doing.
23 23
24config PCI_DOMAINS
25 bool
26 depends on PCI
27
28config PCI_DOMAINS_GENERIC
29 bool
30 depends on PCI
31 select PCI_DOMAINS
32
24source "drivers/pci/pcie/Kconfig" 33source "drivers/pci/pcie/Kconfig"
25 34
26config PCI_MSI 35config PCI_MSI