11#ifndef _PCIEXPRESS50_H_
12#define _PCIEXPRESS50_H_
22#define PCI_EXPRESS_EXTENDED_CAPABILITY_PHYSICAL_LAYER_32_0_ID 0x002A
23#define PCI_EXPRESS_EXTENDED_CAPABILITY_PHYSICAL_LAYER_32_0_VER1 0x1
26#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_CAPABILITIES_OFFSET 0x04
27#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_CONTROL_OFFSET 0x08
28#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_STATUS_OFFSET 0x0C
29#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_RCVD_MODIFIED_TS_DATA1_OFFSET 0x10
30#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_RCVD_MODIFIED_TS_DATA2_OFFSET 0x14
31#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_TRANS_MODIFIED_TS_DATA1_OFFSET 0x18
32#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_TRANS_MODIFIED_TS_DATA2_OFFSET 0x1C
33#define PCI_EXPRESS_REG_PHYSICAL_LAYER_32_0_LANE_EQUALIZATION_CONTROL_OFFSET 0x20
37 UINT32 EqualizationByPassToHighestRateSupport : 1;
38 UINT32 NoEqualizationNeededSupport : 1;
40 UINT32 ModifiedTSUsageMode0Support : 1;
41 UINT32 ModifiedTSUsageMode1Support : 1;
42 UINT32 ModifiedTSUsageMode2Support : 1;
43 UINT32 ModifiedTSReservedUsageModes : 5;
44 UINT32 Reserved2 : 16;
51 UINT32 EqualizationByPassToHighestRateDisable : 1;
52 UINT32 NoEqualizationNeededDisable : 1;
54 UINT32 ModifiedTSUsageModeSelected : 3;
55 UINT32 Reserved2 : 21;
62 UINT32 EqualizationComplete : 1;
63 UINT32 EqualizationPhase1Success : 1;
64 UINT32 EqualizationPhase2Success : 1;
65 UINT32 EqualizationPhase3Success : 1;
66 UINT32 LinkEqualizationRequest : 1;
67 UINT32 ModifiedTSRcvd : 1;
68 UINT32 RcvdEnhancedLinkControl : 2;
69 UINT32 TransmitterPrecodingOn : 1;
70 UINT32 TransmitterPrecodeRequest : 1;
71 UINT32 NoEqualizationNeededRcvd : 1;
79 UINT32 RcvdModifiedTSUsageMode : 3;
80 UINT32 RcvdModifiedTSUsageInfo1 : 13;
81 UINT32 RcvdModifiedTSVendorId : 16;
88 UINT32 RcvdModifiedTSUsageInfo2 : 24;
89 UINT32 AltProtocolNegotiationStatus : 2;
97 UINT32 TransModifiedTSUsageMode : 3;
98 UINT32 TransModifiedTSUsageInfo1 : 13;
99 UINT32 TransModifiedTSVendorId : 16;
106 UINT32 TransModifiedTSUsageInfo2 : 24;
107 UINT32 AltProtocolNegotiationStatus : 2;
115 UINT8 DownstreamPortTransmitterPreset : 4;
116 UINT8 UpstreamPortTransmitterPreset : 4;