\r
This header file may not define all structures. Please extend as required.\r
\r
- Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
#ifndef _PCIEXPRESS30_H_\r
#define _PCIEXPRESS30_H_\r
\r
-#include "PciExpress21.h"\r
+#include <IndustryStandard/PciExpress21.h>\r
+\r
+#pragma pack(1)\r
\r
#define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_ID 0x0019\r
#define PCI_EXPRESS_EXTENDED_CAPABILITY_SECONDARY_PCIE_VER1 0x1\r
\r
+typedef union {\r
+ struct {\r
+ UINT32 PerformEqualization : 1;\r
+ UINT32 LinkEqualizationRequestInterruptEnable : 1;\r
+ UINT32 Reserved : 30;\r
+ } Bits;\r
+ UINT32 Uint32;\r
+} PCI_EXPRESS_REG_LINK_CONTROL3;\r
+\r
+typedef union {\r
+ struct {\r
+ UINT16 DownstreamPortTransmitterPreset : 4;\r
+ UINT16 DownstreamPortReceiverPresetHint : 3;\r
+ UINT16 Reserved : 1;\r
+ UINT16 UpstreamPortTransmitterPreset : 4;\r
+ UINT16 UpstreamPortReceiverPresetHint : 3;\r
+ UINT16 Reserved2 : 1;\r
+ } Bits;\r
+ UINT16 Uint16;\r
+} PCI_EXPRESS_REG_LANE_EQUALIZATION_CONTROL;\r
+\r
typedef struct {\r
PCI_EXPRESS_EXTENDED_CAPABILITIES_HEADER Header;\r
- UINT32 LinkControl3;\r
+ PCI_EXPRESS_REG_LINK_CONTROL3 LinkControl3;\r
UINT32 LaneErrorStatus;\r
- UINT16 EqualizationControl[2];\r
+ PCI_EXPRESS_REG_LANE_EQUALIZATION_CONTROL EqualizationControl[2];\r
} PCI_EXPRESS_EXTENDED_CAPABILITIES_SECONDARY_PCIE;\r
\r
+#pragma pack()\r
+\r
#endif\r