[PATCH 19/20] [POWERPC] pci32: 4xx embedded platforms want to reassign all PCI resources

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Dec 14 07:37:40 EST 2007


On Thu, 2007-12-13 at 13:05 -0600, Josh Boyer wrote:
> On Thu, 13 Dec 2007 18:38:46 +1100
> Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:
> 
> > This makes 4xx embedded platforms re-assign all PCI resources as we
> > pretty much never care about what the various firmwares have done on
> > these, it's generally not compatible with the way the kernel will map
> > the bridges.
> > 
> > We still need to also enable bus renumbering on some of them, but I
> > will do that from a separate patch after I've fixed 4xx PCIe to handle
> > all bus numbers.
> > 
> > Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> 
> [snip]
> 
> > Index: linux-work/arch/powerpc/platforms/44x/sequoia.c
> > ===================================================================
> > --- linux-work.orig/arch/powerpc/platforms/44x/sequoia.c	2007-12-10 16:51:42.000000000 +1100
> > +++ linux-work/arch/powerpc/platforms/44x/sequoia.c	2007-12-10 16:55:06.000000000 +1100
> > @@ -21,7 +21,8 @@
> >  #include <asm/udbg.h>
> >  #include <asm/time.h>
> >  #include <asm/uic.h>
> > -#include "44x.h"
> > +#include <asm/pci-bridge.h>
> > +
> 
> Oh, and you also broke the Sequoia build with this change because you
> removed the 44x.h include :).

Ok.

Ben.





More information about the Linuxppc-dev mailing list