pci: bus scan amendment
commit49b4c04d0c6bffc99e470f397868f886424b32b0
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Thu, 27 May 2010 20:12:11 +0000 (27 20:12 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Thu, 27 May 2010 20:12:11 +0000 (27 20:12 +0000)
treeed7adc95ae15876572e58aa228d5508e6ca77420
parent23ff04e29ad5159e9f49d8b855ebc6617b45142a
pci: bus scan amendment

- refactor scan procedure to start with PCI host controller
- initiate scan of subordinate PCI bus from PCI host and PCI-to-PCI bridges
- find out PCI subordinate bus numbers and write them to bride devices
- automated assignment of "reg", "ranges", and "bus-range" properties

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@786 f158a5a8-5612-0410-a976-696ce0be7e32
drivers/pci.c
drivers/pci.h
drivers/pci_database.h
drivers/vga_vbe.c
include/libopenbios/bindings.h
libopenbios/bindings.c