MIPS: PCI: Netlogic XLP9XX support
Add PCI support for Netlogic XLP9XX. The PCI registers and SoC bus numbers have changed in XLP9XX. Also skip a few (bus,dev,fn) combinations which have issues when read. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6284/
This commit is contained in:

committed by
Ralf Baechle

parent
98d4884ca5
commit
b6ba1c5294
@@ -76,6 +76,11 @@ int nlm_irq_to_irt(int irq)
|
||||
return 133;
|
||||
case PIC_UART_1_IRQ:
|
||||
return 134;
|
||||
case PIC_PCIE_LINK_LEGACY_IRQ(0):
|
||||
case PIC_PCIE_LINK_LEGACY_IRQ(1):
|
||||
case PIC_PCIE_LINK_LEGACY_IRQ(2):
|
||||
case PIC_PCIE_LINK_LEGACY_IRQ(3):
|
||||
return 191 + irq - PIC_PCIE_LINK_LEGACY_IRQ_BASE;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user