Skip to contentSkip to conversation

Add new, missing argument to of_irq_map_raw().

PATCH In review Jon Loeliger 2 participants 2 messages Sep 1, 2006 – Sep 2, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add new, missing argument to of_irq_map_raw().

Ben speaks; we follow.

---

Paul,

This patch is needed in the 2.6.18 release for 86xx. Ben's recent changes to of_irq_map_raw() missed one caller. This patch cleans that up.

Thanks,
jdl

 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +1 -1
index 4a33d95..cdaf668 100644
@@ -154,7 +154,7 @@ get_pci_irq_from_of(struct pci_controlle
 
 	laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(slot, 0) << 8);
 	laddr[1] = laddr[2] = 0;
-	of_irq_map_raw(hosenode, &pin, laddr, &oirq);
+	of_irq_map_raw(hosenode, &pin, 1, laddr, &oirq);
 	DBG("mpc86xx_hpcn: pci irq addr %x, slot %d, pin %d, irq %d\n",
 			laddr[0], slot, pin, oirq.specifier[0]);
 	return oirq.specifier[0];
Signature · 1 line
1.4.2.rc2.g85d6c-dirty
#1 lore raw
Quoted 1 line · Jon Loeliger

Ben speaks; we follow.

Ooops, sorry. I din't grep around thinking nobody would need to use that low level function but it looks like you do have a good reason to do so.

Ben.

Quoted 29 lines

---

Paul,

This patch is needed in the 2.6.18 release for 86xx. Ben's recent changes to of_irq_map_raw() missed one caller. This patch cleans that up.

Thanks,
jdl

 arch/powerpc/platforms/86xx/mpc86xx_hpcn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +1 -1
index 4a33d95..cdaf668 100644
@@ -154,7 +154,7 @@ get_pci_irq_from_of(struct pci_controlle
 
 	laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(slot, 0) << 8);
 	laddr[1] = laddr[2] = 0;
-	of_irq_map_raw(hosenode, &pin, laddr, &oirq);
+	of_irq_map_raw(hosenode, &pin, 1, laddr, &oirq);
 	DBG("mpc86xx_hpcn: pci irq addr %x, slot %d, pin %d, irq %d\n",
 			laddr[0], slot, pin, oirq.specifier[0]);
 	return oirq.specifier[0];