projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a2edea
)
[MIPS] BCM1480: Fix interrupt routing.
author
Ralf Baechle
<ralf@linux-mips.org>
Sun, 2 Dec 2007 12:09:11 +0000
(12:09 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 3 Dec 2007 19:40:26 +0000
(19:40 +0000)
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>
arch/mips/pci/pci-bcm1480.c
patch
|
blob
|
history
diff --git
a/arch/mips/pci/pci-bcm1480.c
b/arch/mips/pci/pci-bcm1480.c
index
5443ea3
..
bc647cb
100644
(file)
--- 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)
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 */