static Board_STATUS Board_CfgMultilinkSgmiiXaui(void) { CSL_SerdesResult result; uint32_t laneNum; CSL_SerdesLaneEnableStatus laneRetVal = CSL_SERDES_LANE_ENABLE_NO_ERR; CSL_SerdesLaneEnableParams serdesLane0EnableParams = {0}; CSL_SerdesLaneEnableParams serdesLane1EnableParams = {0}; CSL_SerdesMultilink multiLinkId = CSL_SERDES_USXGMII_SGMII_MULTILINK; CSL_SerdesInstance serdesInstanceId = CSL_TORRENT_SERDES1; memset(&serdesLane0EnableParams, 0, sizeof(serdesLane0EnableParams)); memset(&serdesLane1EnableParams, 0, sizeof(serdesLane1EnableParams)); serdesLane0EnableParams.serdesInstance = (CSL_SerdesInstance)CSL_TORRENT_SERDES1; serdesLane0EnableParams.baseAddr = CSL_WIZ16B8M4CT3_1_WIZ16B8M4CT3_BASE; serdesLane0EnableParams.refClock = CSL_SERDES_REF_CLOCK_156p25M; serdesLane0EnableParams.refClkSrc = CSL_SERDES_REF_CLOCK_INT0; serdesLane0EnableParams.numLanes = 2; serdesLane0EnableParams.laneMask = 0xc; serdesLane0EnableParams.SSC_mode = CSL_SERDES_NO_SSC; serdesLane0EnableParams.phyType = CSL_SERDES_PHY_TYPE_USXGMII; serdesLane0EnableParams.operatingMode = CSL_SERDES_FUNCTIONAL_MODE; serdesLane0EnableParams.phyInstanceNum = 0; serdesLane0EnableParams.pcieGenType = CSL_SERDES_PCIE_GEN4; serdesLane0EnableParams.linkRate = CSL_SERDES_LINK_RATE_5p15625G; for(laneNum=0;laneNum> CSL_FINSR(*(volatile uint32_t *)(&torrent_sds_reg->PMA_RX_LANE_REGISTERS[3].RX_DIAG_DFE_AMP_TUNE_3__RX_DIAG_DFE_AMP_TUNE_2),15,0,(uint32_t)0x0C01);//USXGMII CSL_FINSR(*(volatile uint32_t *)(&torrent_sds_reg->PMA_RX_LANE_REGISTERS[3].RX_DIAG_DFE_AMP_TUNE_3__RX_DIAG_DFE_AMP_TUNE_2),15,0,(uint32_t)0x0C21);//USXGMII