[PATCH 2/2] MPC52xx updates : PCI Support

Dale Farnsworth dale at farnsworth.org
Sat Mar 12 07:48:23 EST 2005


The first hunk of arch/ppc/platforms/lite5200.c looks corrupted.
See the line beginning "fdef CONFIG_PCI".

-Dale

On Fri, Mar 11, 2005 at 08:08:26PM +0000, Sylvain Munaut wrote:
> And here's the second patch :

[ deleted lines ]

> diff -Nru a/arch/ppc/platforms/lite5200.c b/arch/ppc/platforms/lite5200.c
> --- a/arch/ppc/platforms/lite5200.c     2005-03-11 20:41:56 +01:00
> +++ b/arch/ppc/platforms/lite5200.c     2005-03-11 20:41:56 +01:00
> @@ -35,6 +35,8 @@
> #include <asm/ocp.h>
> #include <asm/mpc52xx.h>
> 
> +#include <syslib/mpc52xx_pci.h>
> +
> 
> extern int powersave_nap;
> 
> fdef CONFIG_PCI
> +static int
> +lite5200_map_irq(struct pci_dev *dev, unsigned char idsel,
> +                 unsigned char pin) {
> +       return (pin == 1) && (idsel==24) ? MPC52xx_IRQ0 : -1;
> +}
> +#endif

[ more deleted lines ]



More information about the Linuxppc-embedded mailing list