commit | 82b39b286e58b4066e75868dcd96620416954412 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Mon Jul 11 09:20:28 2011 +0200 |
committer | Kevin O'Connor <kevin@koconnor.net> | Tue Jul 12 21:14:52 2011 -0400 |
tree | 8ec5c8beaed3d5e1230093050dc1198b0c5925e9 | |
parent | 871c92991b65fff584d8200c767f8e1a08f8c4a1 [diff] |
pci: add two-pass pci initialization code This patch adds a second device scan to the pci initialization, which counts the memory bars of the various sizes and types. Then it calculates the sizes and the packing of the prefetchable and non-prefetchable pci memory windows and prints the results. The patch doesn't actually map the devices to make debugging easier. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>