linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add new, missing argument to of_irq_map_raw().
@ 2006-09-01 15:17 Jon Loeliger
  2006-09-02  3:29 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Loeliger @ 2006-09-01 15:17 UTC (permalink / raw)
  To: linuxppc-dev

Ben speaks; we follow.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
---

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(-)

diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
index 4a33d95..cdaf668 100644
--- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
+++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
@@ -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];
-- 
1.4.2.rc2.g85d6c-dirty

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add new, missing argument to of_irq_map_raw().
  2006-09-01 15:17 [PATCH] Add new, missing argument to of_irq_map_raw() Jon Loeliger
@ 2006-09-02  3:29 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2006-09-02  3:29 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: linuxppc-dev

On Fri, 2006-09-01 at 10:17 -0500, Jon Loeliger wrote:
> 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.

> Signed-off-by: Jon Loeliger <jdl@freescale.com>
> ---
> 
> 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(-)
> 
> diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
> index 4a33d95..cdaf668 100644
> --- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
> +++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c
> @@ -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];

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-02  3:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01 15:17 [PATCH] Add new, missing argument to of_irq_map_raw() Jon Loeliger
2006-09-02  3:29 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).