Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a6733f2e146a5f4884bc23023bf56f3a2698b547
Commit:     a6733f2e146a5f4884bc23023bf56f3a2698b547
Parent:     1a2edea9aff48c31302e07100ddbaba358596cd7
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 2 12:09:11 2007 +0000
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Mon Dec 3 19:40:26 2007 +0000

    [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 <[EMAIL PROTECTED]>
---
 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 5443ea3..bc647cb 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)
 
 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to