提交 f435a91e 编写于 作者: R Ralf Baechle

[MIPS] BCM1480: Fix interrupt routing, take 2.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 7e1fb765
......@@ -76,7 +76,10 @@ static inline void WRITECFG32(u32 addr, u32 data)
int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
return K_BCM1480_INT_PCI_INTA + pin;
if (pin == 0)
return -1;
return K_BCM1480_INT_PCI_INTA - 1 + pin;
}
/* Do platform specific device initialization at pci_enable_device() time */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册