On Sat, May 21, 2011 at 09:55:28AM +0200, Daniel Hellstrom wrote: > The LEON architecture does not have a BIOS or bootloader that > initializes PCI for us, instead Linux generic PCI layer is used > to set up resources and IRQ. > > Signed-off-by: Daniel Hellstrom <daniel@xxxxxxxxxxx> > --- > arch/sparc/include/asm/pci_32.h | 5 + > arch/sparc/include/asm/pci_leon.h | 36 ++++++ > arch/sparc/include/asm/pcic.h | 2 +- > arch/sparc/kernel/Makefile | 4 + > arch/sparc/kernel/entry.S | 2 +- > arch/sparc/kernel/leon_pci.c | 252 +++++++++++++++++++++++++++++++++++++ > drivers/pci/Makefile | 1 + > 7 files changed, 300 insertions(+), 2 deletions(-) > create mode 100644 arch/sparc/include/asm/pci_leon.h > create mode 100644 arch/sparc/kernel/leon_pci.c Hi Daniel. Reading through this patch it looks like LEOON pci support is bolted on top of what we have rather than trying to integrate it a bit more. I would like to see something like: * include/asm/pcic.h intregated in pci_32.h * leon specifics added to pci_32.h - with minimal ifdefs Dunno abot the rest... If i find time I will try to come up with a proposal later tonight. Sam -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html