REF: https://bugzilla.tianocore.org/show_bug.cgi?id=656
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <[email protected]> Cc: Laszlo Ersek <[email protected]> --- MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c index 8b076e8791..a777f91f2c 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c @@ -1,7 +1,7 @@ /** @file Internal library implementation for PCI Bus module. -Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR> +Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -1125,14 +1125,14 @@ PciScanBus ( BusPadding = FALSE; if (gPciHotPlugInit != NULL) { - if (IsRootPciHotPlugBus (PciDevice->DevicePath, &HpIndex)) { + if (IsPciHotPlugBus (PciDevice)) { // // If it is initialized, get the padded bus range // Status = gPciHotPlugInit->GetResourcePadding ( gPciHotPlugInit, - gPciRootHpcPool[HpIndex].HpbDevicePath, + PciDevice->DevicePath, PciAddress, &State, (VOID **) &Descriptors, -- 2.15.1.windows.2 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

