commit | 9789ac979b6b6ae6cc09f7b29c88e95ecb14ec39 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Fri Jan 22 01:02:26 2010 -0800 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Mon Feb 22 16:17:24 2010 -0800 |
tree | ad77f238e5ee0971767079276b1fd43e11457264 | |
parent | 6841ec681a88b66651e4563040b9c7a7ad25d7b5 [diff] |
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>