mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[MIPS] BCM1480: Fix interrupt routing, take 2.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
7e1fb765c6
commit
f435a91e66
1 changed files with 4 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue