[PATCH] [POWERPC] Move RapidIO support code from arch/ppc

Stephen Rothwell sfr at canb.auug.org.au
Thu Jan 24 09:40:17 EST 2008


Hi Kumar,

On Wed, 23 Jan 2008 06:38:29 -0600 (CST) Kumar Gala <galak at kernel.crashing.org> wrote:
>
> +++ b/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
> @@ -190,6 +188,7 @@ mpc85xx_exclude_device(u_char bus, u_char devfn)
>  #endif /* CONFIG_PCI */
> 
>  #ifdef CONFIG_RAPIDIO
> +extern void mpc85xx_rio_setup(int law_start, int law_size);

Ooops! This should be in a header file, of course.

> +++ b/arch/ppc/platforms/85xx/stx_gp3.c
> @@ -270,6 +269,7 @@ int mpc85xx_exclude_device(u_char bus, u_char devfn)
>  #endif /* CONFIG_PCI */
> 
>  #ifdef CONFIG_RAPIDIO
> +extern void mpc85xx_rio_setup(int law_start, int law_size);

And again.

I guess this is just temporary in which case we can probably live with
it.  But do not forget to fix it up.

> +++ b/arch/ppc/platforms/85xx/tqm85xx.c
> @@ -309,6 +308,7 @@ int mpc85xx_exclude_device(u_char bus, u_char devfn)
>  #endif /* CONFIG_PCI */
> 
>  #ifdef CONFIG_RAPIDIO
> +extern void mpc85xx_rio_setup(int law_start, int law_size);

Third time lucky?   :-)

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080124/c21ae513/attachment.pgp>


More information about the Linuxppc-dev mailing list