diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-01-22 12:02:26 +0300 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-02-23 03:17:24 +0300 |
commit | 9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39 (patch) | |
tree | ad77f238e5ee0971767079276b1fd43e11457264 /lib | |
parent | 6841ec681a88b66651e4563040b9c7a7ad25d7b5 (diff) | |
download | linux-9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39.tar.xz |
PCI: pciehp: cleanup flow in pciehp_configure_device
Move bus_size_bridges and assign resources out of pciehp_add_bridge()
and do them all together, one time, including slot bridge, to avoid to
calling assign resources several times when there are several bridges
under the slot bridge. Using pci_assign_unassigned_bridge_resources.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions