]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MIPS: PCI: Support for CONFIG_PCI_DOMAINS_GENERIC
authorPaul Burton <paul.burton@imgtec.com>
Wed, 5 Oct 2016 17:18:08 +0000 (18:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Oct 2016 15:57:23 +0000 (17:57 +0200)
commit88555b481958083b1b928a4ba5c6e3bc606ce34b
treec7e0e62e57e7d4e013f1f38cf408654c1ee6faa7
parent23dac14d058fcd7cb2b4e6389139ca065855afe7
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>
arch/mips/Kconfig
arch/mips/include/asm/pci.h
arch/mips/pci/pci.c