[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 03/15] MdeModulePkg/PciBus: Rename Cache PCIe Capability Structure
Javeed, Ashraf
ashraf.javeed at intel.com
Sun May 10 16:14:00 UTC 2020
REF:
https://bugzilla.tianocore.org/show_bug.cgi?id=1954
https://bugzilla.tianocore.org/show_bug.cgi?id=2194
https://bugzilla.tianocore.org/show_bug.cgi?id=2313
https://bugzilla.tianocore.org/show_bug.cgi?id=2499
https://bugzilla.tianocore.org/show_bug.cgi?id=2500
Rename the cache PCIe Capability Structure.
Signed-off-by: Ashraf Javeed <ashraf.javeed at intel.com>
Signed-off-by: Ray Ni <ray.ni at intel.com>
Cc: Jian J Wang <jian.j.wang at intel.com>
Cc: Hao A Wu <hao.a.wu at intel.com>
---
MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 2 +-
MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
index 5a7c1c2..9947203 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h
@@ -269,7 +269,7 @@ struct _PCI_IO_DEVICE {
// For PCI Express Capability List Structure
//
UINT8 PciExpressCapabilityOffset;
- PCI_CAPABILITY_PCIEXP PciExpressCapabilityStructure;
+ PCI_CAPABILITY_PCIEXP PciExpressCapability;
//
// For SR-IOV
//
diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
index c9e52ea..0f43e43 100644
--- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
+++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
@@ -2162,7 +2162,7 @@ CreatePciIoDevice (
EfiPciIoWidthUint8,
PciIoDevice->PciExpressCapabilityOffset,
sizeof (PCI_CAPABILITY_PCIEXP) / sizeof (UINT8),
- &PciIoDevice->PciExpressCapabilityStructure
+ &PciIoDevice->PciExpressCapability
);
}
--
2.21.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#58993): https://edk2.groups.io/g/devel/message/58993
Mute This Topic: https://groups.io/mt/74118510/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list