162306a36Sopenharmony_ciWhat: /sys/bus/dfl/devices/dfl_dev.X/fec_mode 262306a36Sopenharmony_ciDate: Oct 2020 362306a36Sopenharmony_ciKernelVersion: 5.12 462306a36Sopenharmony_ciContact: Xu Yilun <yilun.xu@intel.com> 562306a36Sopenharmony_ciDescription: Read-only. Returns the FEC mode of the 25G links of the 662306a36Sopenharmony_ci ethernet retimers configured by Nios firmware. "rs" for Reed 762306a36Sopenharmony_ci Solomon FEC, "kr" for Fire Code FEC, "no" for NO FEC. 862306a36Sopenharmony_ci "not supported" if the FEC mode setting is not supported, this 962306a36Sopenharmony_ci happens when the Nios firmware version major < 3, or no link is 1062306a36Sopenharmony_ci configured to 25G. 1162306a36Sopenharmony_ci Format: string 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciWhat: /sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode 1462306a36Sopenharmony_ciDate: Oct 2020 1562306a36Sopenharmony_ciKernelVersion: 5.12 1662306a36Sopenharmony_ciContact: Xu Yilun <yilun.xu@intel.com> 1762306a36Sopenharmony_ciDescription: Read-only. Returns the enumeration value of the working mode of 1862306a36Sopenharmony_ci the retimer A configured by the Nios firmware. The value is 1962306a36Sopenharmony_ci read out from shared registers filled by the Nios firmware. Now 2062306a36Sopenharmony_ci the values could be: 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci - "0": Reset 2362306a36Sopenharmony_ci - "1": 4x10G 2462306a36Sopenharmony_ci - "2": 4x25G 2562306a36Sopenharmony_ci - "3": 2x25G 2662306a36Sopenharmony_ci - "4": 2x25G+2x10G 2762306a36Sopenharmony_ci - "5": 1x25G 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci If the Nios firmware is updated in future to support more 3062306a36Sopenharmony_ci retimer modes, more enumeration value is expected. 3162306a36Sopenharmony_ci Format: 0x%x 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciWhat: /sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode 3462306a36Sopenharmony_ciDate: Oct 2020 3562306a36Sopenharmony_ciKernelVersion: 5.12 3662306a36Sopenharmony_ciContact: Xu Yilun <yilun.xu@intel.com> 3762306a36Sopenharmony_ciDescription: Read-only. Returns the enumeration value of the working mode of 3862306a36Sopenharmony_ci the retimer B configured by the Nios firmware. The value format 3962306a36Sopenharmony_ci is the same as retimer_A_mode. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciWhat: /sys/bus/dfl/devices/dfl_dev.X/nios_fw_version 4262306a36Sopenharmony_ciDate: Oct 2020 4362306a36Sopenharmony_ciKernelVersion: 5.12 4462306a36Sopenharmony_ciContact: Xu Yilun <yilun.xu@intel.com> 4562306a36Sopenharmony_ciDescription: Read-only. Returns the version of the Nios firmware in the 4662306a36Sopenharmony_ci FPGA. Its format is "major.minor.patch". 4762306a36Sopenharmony_ci Format: %x.%x.%x 48