All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] sparc32,leon: PCI patches
@ 2011-04-26  8:54 Daniel Hellstrom
  2011-05-16 20:01 ` David Miller
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Daniel Hellstrom @ 2011-04-26  8:54 UTC (permalink / raw)
  To: sparclinux

Hello Dave,

The patches in this series must be applied ontop of the genriq patches 
sent previously.

The patches implement PCI for the LEON architecture. The LEON supports 
different PCI Host controllers, I have tried to collect common parts in 
leon_pci.c and host drivers will be named leon_pci_*.c.

There is no BIOS or bootloader initializing PCI for use in comparison to 
the PCIC-SPARC32 code. LEON rely on the Linux generic resource & IRQ 
code to probe and setup the bus for us, drivers/pci/Makefile is 
dependent on CONFIG_SPARC_LEON in order not to brake PCIC. PCIC can not 
be defined at the same time as the LEON PCI layer, so the CONFIG_PCI 
ifdeffs has been replaced with CONFIG_PCI && !CONFIG_SPARC_LEON.

Thanks,
Daniel

 arch/sparc/Kconfig                  |    7 +
 arch/sparc/include/asm/leon.h       |    3 +
 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          |    5 +
 arch/sparc/kernel/entry.S           |    2 +-
 arch/sparc/kernel/leon_kernel.c     |   15 +
 arch/sparc/kernel/leon_pci.c        |  237 +++++++++
 arch/sparc/kernel/leon_pci_grpci2.c |  905 
+++++++++++++++++++++++++++++++++++
 drivers/pci/Makefile                |    1 +
 11 files changed, 1216 insertions(+), 2 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-05-23  8:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-26  8:54 [PATCH 0/2] sparc32,leon: PCI patches Daniel Hellstrom
2011-05-16 20:01 ` David Miller
2011-05-19 13:13 ` Daniel Hellstrom
2011-05-19 19:01 ` David Miller
2011-05-20  8:01 ` Daniel Hellstrom
2011-05-20  8:08 ` David Miller
2011-05-20 14:22 ` Daniel Hellstrom
2011-05-20 18:24 ` David Miller
2011-05-23  8:49 ` Daniel Hellstrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.