From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com []) by mx.groups.io with SMTP id smtpd.web12.17390.1589127269924431738 for ; Sun, 10 May 2020 09:14:30 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: ashraf.javeed@intel.com) IronPort-SDR: gewPFOIeLBFBxh3+bRZzv1olgEvnOPeakE/HTUixJN/r+Qm5w/1c+UFHKYGiEoqSTbqZSPUz0q ZxAWOO5qtBZQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2020 09:14:30 -0700 IronPort-SDR: oUh6GTcvR6sFD4oh203Rgpczt8A7VdqnqpFXK7CRjCgi6pizSuJC+jXrZA4r/PFMcKYiIxnGYC LdGuPn383dvQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,376,1583222400"; d="scan'208";a="463129621" Received: from pidsbabios005.gar.corp.intel.com ([10.66.128.37]) by fmsmga006.fm.intel.com with ESMTP; 10 May 2020 09:14:29 -0700 From: "Javeed, Ashraf" To: devel@edk2.groups.io Cc: Ray Ni , Jian J Wang , Hao A Wu Subject: [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH 03/15] MdeModulePkg/PciBus: Rename Cache PCIe Capability Structure Date: Sun, 10 May 2020 21:44:00 +0530 Message-Id: <20200510161412.13832-4-ashraf.javeed@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20200510161412.13832-1-ashraf.javeed@intel.com> References: <20200510161412.13832-1-ashraf.javeed@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Ray Ni Cc: Jian J Wang Cc: Hao A Wu --- 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