Overhaul PCI config functions.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 9 Nov 2008 20:33:47 +0000 (15:33 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 9 Nov 2008 20:33:47 +0000 (15:33 -0500)
commitbe19cdc4dce80711fad94e6db0ab428761f3170d
tree17e4d7ae41c11f268a735f00d69852b0bb701a0f
parentceea03c235f337062b3ded69cc658ea759e254f6
Overhaul PCI config functions.

Remove PCIDevice struct and replace with a "u16" with BDF -
    Bus/Device/Function.  This simplifies the code in several places.
Also, scan for and store the maximum PCI bus found during startup.
    The previous config option CONFIG_PCI_BUS_COUNT is no longer
    needed and has been removed.
src/acpi.c
src/ata.c
src/config.h
src/optionroms.c
src/pci.c
src/pci.h
src/pcibios.c
src/pciinit.c
src/post.c
src/shadow.c
src/smm.c