Fix bug - bios writes must be enabled before max PCI bus detected.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 28 Nov 2008 16:56:37 +0000 (11:56 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 28 Nov 2008 16:56:37 +0000 (11:56 -0500)
commitcf89e66e88cc9e6cdb03a9d296827bd7d246a412
tree3d29e716e39d9d3678333bcfa0a4833f2aa5234f
parentd21c089acf7016bb22ab81a96c5e20ca8075e3ea
Fix bug - bios writes must be enabled before max PCI bus detected.

The max pci bus is stored in the bios segment, so it must be writable.
So, use a default max size (1 pci bus) for the initial write enable
    device scan and then do the full max bus check after write is
    enabled.
src/pci.c
src/post.c