From 665afccc52e1a02ee329147e02f04b8e9cf1d571 Mon Sep 17 00:00:00 2001 From: Daniel Pawel Banaszek Date: Tue, 17 Dec 2019 14:39:25 +0100 Subject: [PATCH] MdePkg PciExpress21: PCI_REG_PCIE_DEVICE_CONTROL2 struct has 17 bits Device Control 2 Structure have an issue. LtrMechanism - there is 2 bits instead of 1. Signed-off-by: Daniel Pawel Banaszek Reviewed-by: Liming Gao Reviewed-by: Ray Ni --- MdePkg/Include/IndustryStandard/PciExpress21.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/PciExpress21.h b/MdePkg/Include/IndustryStandard/PciExpress21.h index f17f570775..2c07cb560e 100644 --- a/MdePkg/Include/IndustryStandard/PciExpress21.h +++ b/MdePkg/Include/IndustryStandard/PciExpress21.h @@ -304,7 +304,7 @@ typedef union { UINT16 AtomicOpEgressBlocking : 1; UINT16 IdoRequest : 1; UINT16 IdoCompletion : 1; - UINT16 LtrMechanism : 2; + UINT16 LtrMechanism : 1; UINT16 EmergencyPowerReductionRequest : 1; UINT16 TenBitTagRequesterEnable : 1; UINT16 Obff : 2; -- 2.39.2