commit | 95f3aa209acde88f4273403733a0fb29ca28260d | [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 | 7e378b8bfce342d773621af394ca192dba39cf34 [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>