Hi Ray,
Thank you for sharing the solution. I am worrying on this issue now. I have
found some produce did not support this lib.
I will update the patch.
BR
Sheng Wei
> -Original Message-
> From: Ni, Ray
> Sent: 2021年10月20日 8:29
> To: Sheng, W ; devel@edk2.groups.io
> Cc: Kowalewski, Rob
Can you rely on the PciRootBridgeIo protocol instances instead of this library?
It will make the driver usable in platforms that don't produce the
PciHostBridgeLib.
Thanks,
Rya
> -Original Message-
> From: Sheng, W
> Sent: Monday, October 18, 2021 4:43 PM
> To: devel@edk2.groups.io
> C
Some system may has multi PCI root bus. It needs to use function
PciHostBridgeGetRootBridges () to get the root bus count. Then,
scan each root bus to get all devices.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3695
Signed-off-by: Robert Kowalewski
Signed-off-by: Sheng Wei
Cc: Jenny