projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1fb76
)
[MIPS] BCM1480: Fix interrupt routing, take 2.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 6 Dec 2007 17:15:57 +0000
(17:15 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 6 Dec 2007 17:15:57 +0000
(17:15 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-bcm1480.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/pci/pci-bcm1480.c
b/arch/mips/pci/pci-bcm1480.c
index bc647cb77298fcaa6050348e98f901dd83f41593..47f316c86ab166bad9635423bf15b865c9eb9465 100644
(file)
--- a/
arch/mips/pci/pci-bcm1480.c
+++ b/
arch/mips/pci/pci-bcm1480.c
@@
-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 */