[OpenBIOS] [PATCH 00/10] encode-int related changes and pci bus scan amendment

Igor V. Kovalenko igor.v.kovalenko at gmail.com
Tue May 25 14:37:50 CEST 2010


These mostly are cleanups up to pci bus scan amendment changes.

The pci bus scan is reworked, now we start with pci host bridge which will
initiate primary bus scan. PCI-to-PCI bridges do the same.

Although bridges are still mostly unusable in qemu due to missing address space
remappings one can now put e.g. ide and vga on sun4u behind secondary bus and
see it is found correctly and can be configured.

With these applied my debian etch ppc installation still boots to shell,
and helenos can get to video screen (with appropriate QEMU,VGA driver.)
Another bonus point that on sparc64 recent linux "btext" boot console works
(colors are a bit off though.)

---

Igor V. Kovalenko (10):
      ebus: set addressing to 2 address cells and 1 size cells
      ide: fix property data size
      video: framebuffer properties must be 32bit values
      pci: property encoding helpers
      pci: debug printk macros
      pci: bus scan amendment
      new style arch declarations for ppc/qemu
      pci: add host memory base to pci_arch_t
      pci: allow BARs with zero assigned address
      pci: assign relocatable address ranges


 arch/ppc/qemu/init.c           |   96 ++++--
 arch/sparc64/openbios.c        |    3 
 drivers/ide.c                  |   22 +
 drivers/pci.c                  |  652 +++++++++++++++++++++++++++-------------
 drivers/pci.h                  |    4 
 drivers/pci_database.c         |    2 
 drivers/pci_database.h         |    3 
 drivers/vga_vbe.c              |    8 
 include/drivers/pci.h          |    3 
 include/libopenbios/bindings.h |    8 
 libopenbios/bindings.c         |    6 
 packages/video.c               |   10 -
 12 files changed, 549 insertions(+), 268 deletions(-)

-- 



More information about the OpenBIOS mailing list