[PATCH 2/2] MPC52xx updates : PCI Support
Sylvain Munaut
tnt at 246tNt.com
Sat Mar 12 08:06:39 EST 2005
Dale Farnsworth wrote:
>The first hunk of arch/ppc/platforms/lite5200.c looks corrupted.
>See the line beginning "fdef CONFIG_PCI".
>
>-Dale
>
>
>
Damn, you're right and even the first patch is screwed, half of it is
missing.
Discard theses, I'll put them on-line somewhere and post the urls.
Sylvain
>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 ]
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded at ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
>
More information about the Linuxppc-embedded
mailing list