[edk2-devel] [PATCH] Add PCI_EXPRESS_EXTENDED_CAPABILITY_DVSEC_ID

Foster Nong posted 1 patch 9 months ago
Failed in applying to current master (apply log)
MdePkg/Include/IndustryStandard/PciExpress40.h | 2 ++
1 file changed, 2 insertions(+)
[edk2-devel] [PATCH] Add PCI_EXPRESS_EXTENDED_CAPABILITY_DVSEC_ID
Posted by Foster Nong 9 months ago
Package/Module: MdePkg/Include
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4515

Add PCI_EXPRESS_EXTENDED_CAPABILITY_DESIGNATED_VENDOR_SPECIFIC_ID
0x0023 in PciExpress40.h

Signed-off-by: Foster Nong <foster.nong@intel.com>
---
 MdePkg/Include/IndustryStandard/PciExpress40.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/MdePkg/Include/IndustryStandard/PciExpress40.h b/MdePkg/Include/IndustryStandard/PciExpress40.h
index 2a6a0f20a4..d0aa7987b8 100644
--- a/MdePkg/Include/IndustryStandard/PciExpress40.h
+++ b/MdePkg/Include/IndustryStandard/PciExpress40.h
@@ -82,6 +82,8 @@ typedef struct {
 /// The Designated Vendor Specific Capability definitions
 /// Based on section 7.9.6 of PCI Express Base Specification 4.0.
 ///@{
+#define PCI_EXPRESS_EXTENDED_CAPABILITY_DESIGNATED_VENDOR_SPECIFIC_ID     0x0023
+
 typedef union {
   struct {
     UINT32    DvsecVendorId : 16;                                     // bit 0..15
-- 
2.37.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107444): https://edk2.groups.io/g/devel/message/107444
Mute This Topic: https://groups.io/mt/100499473/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
回复: [edk2-devel] [PATCH] Add PCI_EXPRESS_EXTENDED_CAPABILITY_DVSEC_ID
Posted by gaoliming via groups.io 9 months ago
Foster:
  Please add MdePkg/Include into the commit message subject. 
  
  The code looks good. Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

Thanks
Liming
> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Foster Nong
> 发送时间: 2023年8月2日 12:01
> 收件人: devel@edk2.groups.io
> 抄送: Foster Nong <foster.nong@intel.com>
> 主题: [edk2-devel] [PATCH] Add
> PCI_EXPRESS_EXTENDED_CAPABILITY_DVSEC_ID
> 
> Package/Module: MdePkg/Include
> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4515
> 
> Add
> PCI_EXPRESS_EXTENDED_CAPABILITY_DESIGNATED_VENDOR_SPECIFIC_ID
> 0x0023 in PciExpress40.h
> 
> Signed-off-by: Foster Nong <foster.nong@intel.com>
> ---
>  MdePkg/Include/IndustryStandard/PciExpress40.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/MdePkg/Include/IndustryStandard/PciExpress40.h
> b/MdePkg/Include/IndustryStandard/PciExpress40.h
> index 2a6a0f20a4..d0aa7987b8 100644
> --- a/MdePkg/Include/IndustryStandard/PciExpress40.h
> +++ b/MdePkg/Include/IndustryStandard/PciExpress40.h
> @@ -82,6 +82,8 @@ typedef struct {
>  /// The Designated Vendor Specific Capability definitions
> 
>  /// Based on section 7.9.6 of PCI Express Base Specification 4.0.
> 
>  ///@{
> 
> +#define
> PCI_EXPRESS_EXTENDED_CAPABILITY_DESIGNATED_VENDOR_SPECIFIC_ID
> 0x0023
> 
> +
> 
>  typedef union {
> 
>    struct {
> 
>      UINT32    DvsecVendorId : 16;
> // bit 0..15
> 
> --
> 2.37.1.windows.1
> 
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> View/Reply Online (#107444):
> https://edk2.groups.io/g/devel/message/107444
> Mute This Topic: https://groups.io/mt/100499473/4905953
> Group Owner: devel+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub
> [gaoliming@byosoft.com.cn]
> -=-=-=-=-=-=
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107451): https://edk2.groups.io/g/devel/message/107451
Mute This Topic: https://groups.io/mt/100501035/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-