commit | e633832efdba79b082a9d103eebc7f3d1e2459b9 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Nov 29 20:31:49 2008 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Nov 29 20:31:49 2008 -0500 |
tree | 1d16bc29eaceb4baedd69fa67c9c8014e66cf793 | |
parent | 3f168b6c7c4e1ab189eeeead60e40b16fac880b9 [diff] |
Only touch PCI functions > 0 on multi-function devices; rescan max pci each time. Some single-function devices will respond to all sub-functions - and this confuses things. So, when scanning the PCI bus make sure to only touch function 0 on single-function devices. Since the bus scanning code is necessarily complex now, we might as well implement max bus detection inline with all pci scans. So, there is no need to scan for the max bus at startup.