diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-05-23 11:28:46 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-05-25 16:51:17 +0800 |
commit | 03ac238b1fe40cfbb1424bf72e2ac8276345e03c (patch) | |
tree | cdfd9fab2e73ee94d9c16f3f6d1665ac7e0e641a /BaseTools/Source/Python | |
parent | 7dc7c7435e9030ad07ad7bc7d136a3997bd0b182 (diff) | |
download | edk2-03ac238b1fe40cfbb1424bf72e2ac8276345e03c.tar.gz edk2-03ac238b1fe40cfbb1424bf72e2ac8276345e03c.tar.bz2 edk2-03ac238b1fe40cfbb1424bf72e2ac8276345e03c.zip |
MdeModulePkg/PciBus: Use actual max bus # for subordinary bus #
Current code assumes the max bus(0xFF) is under this P2P bridge and
temporarily set it as subordinate bus.
It may cause silicon hangs during PCI enumeration in some specific
case.
Instead, it should get the max bus number from the bus number
resources returned from
PCI_HOST_BRIDGE_RESOURCE_ALLOCATION.StartBusEnumeration() and set it
as subordinate bus.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions