commit | 07bd32337171a10e95c3f30878352bf7551f6f63 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Jul 19 00:20:03 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 28 10:36:23 2015 -0600 |
tree | 5617e61011f18df418a2c49e2935bcaad49b0c70 | |
parent | 02a31b7278bd23c6e63a45181f0a9f3ba1098f85 [diff] |
dm: pci: Correct primary/secondary/subordinate bus number assignment In driver model, each pci bridge device has its own hose structure. hose->first_busno points to the bridge device's device number, so we should not substract hose->first_busno before programming the bridge device's primary/secondary/subordinate bus number registers. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>