[PATCH 2/4 V4] MSI support on 83xx/85xx/86xx board
Michael Ellerman
michael at ellerman.id.au
Fri May 9 22:21:59 EST 2008
On Fri, 2008-05-09 at 17:03 +0800, Jason Jin wrote:
> This MSI driver can be used on 83xx/85xx/86xx board.
> In this driver, virtual interrupt host and chip were
> setup. There are 256 MSI interrupts in this host, Every 32
> MSI interrupts cascaded to one IPIC/MPIC interrupt.
> The chip was treated as edge sensitive and some necessary
> functions were setup for this chip.
> diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
> new file mode 100644
> index 0000000..be3304d
> --- /dev/null
> +++ b/arch/powerpc/sysdev/fsl_msi.c
> @@ -0,0 +1,446 @@
...
> +static int fsl_msi_host_match(struct irq_host *h, struct device_node *node)
> +{
> + /* Exact match*/
> + return h->of_node == node;
> +}
This is the default behaviour, so technically you don't need this
routine - but I'm not fussed.
Acked-by: Michael Ellerman <michael at ellerman.id.au>
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080509/f2c26ba0/attachment.pgp>
More information about the Linuxppc-dev
mailing list