Separate pciinit.c into clearly delineated sections.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 1 Oct 2011 15:33:31 +0000 (11:33 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 14 Oct 2011 03:18:54 +0000 (23:18 -0400)
commit5bab7e6fea78334a2564b6e5be7363f47dd0092b
tree0b5f97ce0ade55a01d84cc214b77d69111bdeed3
parent99e37c4295b436ef57678f3a05e1c53389757ea2
Separate pciinit.c into clearly delineated sections.

There are four separate phases of the current PCI initialization code:
bus initialization, bus sizing, bar allocation, and misc device init.
Move the code exclusively called in each phase next to each other, and
clearly mark each section.

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