Replace recursive pci init system with linear passes.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 15 Oct 2011 15:42:48 +0000 (11:42 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 15 Oct 2011 15:42:48 +0000 (11:42 -0400)
commit2c4c2115a72afd66d2cc861bdb25fe12347a22b0
treeaf9ffbe7cc163b258ef491cdec71fb2d56d16692
parent28a20e125630c74b6fab79a663c6bc73778808ab
Replace recursive pci init system with linear passes.

The existing PCI sizing and mapping uses a recursive algorithm to
visit every bus and its devices in order.  Replace that with an
algorithm that visits every device and then every bus.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/pciinit.c