diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-10-05 18:18:08 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-10-06 17:57:23 +0200 |
commit | 88555b481958083b1b928a4ba5c6e3bc606ce34b (patch) | |
tree | c7e0e62e57e7d4e013f1f38cf408654c1ee6faa7 /arch/mips/Kconfig | |
parent | 23dac14d058fcd7cb2b4e6389139ca065855afe7 (diff) | |
download | lwn-88555b481958083b1b928a4ba5c6e3bc606ce34b.tar.gz lwn-88555b481958083b1b928a4ba5c6e3bc606ce34b.zip |
MIPS: PCI: Support for CONFIG_PCI_DOMAINS_GENERIC
Introduce support for CONFIG_PCI_DOMAINS_GENERIC, allowing for platforms
to make use of generic PCI domains instead of the MIPS-specific
implementation. The set_pci_need_domain_info function is introduced to
abstract away the removed need_domain_info field in struct
pci_controller, and pcibios_scanbus is adjusted to use the pci_domain_nr
accessor instead of directly accessing the index field.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14341/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 400cd3695ecc..7a75215aabac 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2995,6 +2995,9 @@ config HT_PCI config PCI_DOMAINS bool +config PCI_DOMAINS_GENERIC + bool + source "drivers/pci/Kconfig" # |