summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/pci
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2020-01-09 13:34:27 +0300
committerPaul Burton <paulburton@kernel.org>2020-01-10 02:30:53 +0300
commit2634e5a651e74efc415b2eff37116fcb8206b614 (patch)
tree06cbd91ef614fa223c593f90b6e3f0bb0af66579 /arch/mips/include/asm/pci
parentd96ee783e33d661a58788eaaf0cd9ae040c79d5a (diff)
downloadlinux-2634e5a651e74efc415b2eff37116fcb8206b614.tar.xz
MIPS: PCI: Support mapping of INTB/C/D for pci-xtalk-bridge
Implented mapping of PCI INTB/C/D, which is needed for PCI multifunction devices, PCI-PCI bridges and IOC3. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/include/asm/pci')
-rw-r--r--arch/mips/include/asm/pci/bridge.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/asm/pci/bridge.h b/arch/mips/include/asm/pci/bridge.h
index 3bc630ff9ad4..9c476a0400e0 100644
--- a/arch/mips/include/asm/pci/bridge.h
+++ b/arch/mips/include/asm/pci/bridge.h
@@ -806,7 +806,8 @@ struct bridge_controller {
unsigned long baddr;
unsigned long intr_addr;
struct irq_domain *domain;
- unsigned int pci_int[8];
+ unsigned int pci_int[8][2];
+ unsigned int int_mapping[8][2];
u32 ioc3_sid[8];
nasid_t nasid;
};