diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-12-02 07:09:11 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-12-03 14:40:26 -0500 |
commit | a6733f2e146a5f4884bc23023bf56f3a2698b547 (patch) | |
tree | 78e6687f31a1ee2d61f879d8aa335361e3f8b66c | |
parent | 1a2edea9aff48c31302e07100ddbaba358596cd7 (diff) |
[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>
-rw-r--r-- | arch/mips/pci/pci-bcm1480.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/pci/pci-bcm1480.c b/arch/mips/pci/pci-bcm1480.c index 5443ea3596f8..bc647cb77298 100644 --- a/arch/mips/pci/pci-bcm1480.c +++ b/arch/mips/pci/pci-bcm1480.c | |||
@@ -76,8 +76,7 @@ static inline void WRITECFG32(u32 addr, u32 data) | |||
76 | 76 | ||
77 | int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | 77 | int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) |
78 | { | 78 | { |
79 | This is b0rked. | 79 | return K_BCM1480_INT_PCI_INTA + pin; |
80 | return dev->irq; | ||
81 | } | 80 | } |
82 | 81 | ||
83 | /* Do platform specific device initialization at pci_enable_device() time */ | 82 | /* Do platform specific device initialization at pci_enable_device() time */ |