Commit edb81706 authored by Yang Qiang's avatar Yang Qiang Committed by guzitao
Browse files

sw64: pci: fix maximum bus number for pci scan

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5GDR1



--------------------------------

When PCI devices enable SRIOV function, the previous policy that uses
pci_find_bus to locate PCI bus from a given domain and bus number may
return false PCI bus number, so this patch fixes this patch.

Signed-off-by: default avatarYang Qiang <yangqiang@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 2d3b928e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment