Skip to content
Snippets Groups Projects
Commit 95f3aa20 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

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: default avatarBin Meng <bmeng.cn@gmail.com>
parent 7e378b8b
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment