mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
[MIPS] BCM1480: Fix interrupt routing.
The old code did did only work as long as CFE and the kernel were using the same interrupt numbering ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
1a2edea9af
commit
a6733f2e14
1 changed files with 1 additions and 2 deletions
|
@ -76,8 +76,7 @@ static inline void WRITECFG32(u32 addr, u32 data)
|
|||
|
||||
int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
|
||||
{
|
||||
This is b0rked.
|
||||
return dev->irq;
|
||||
return K_BCM1480_INT_PCI_INTA + pin;
|
||||
}
|
||||
|
||||
/* Do platform specific device initialization at pci_enable_device() time */
|
||||
|
|
Loading…
Reference in a new issue