SGMII always terminates in a PHY, whether on-board or embedded in an
SFP copper module, so it belongs with QSGMII/XSGMII/USXGMII rather
than the direct fiber/DAC modes. The PHY equalizes on its own far-end
receiver in either case, so no media-dependent TX tuning is needed.
Link: https://github.com/openwrt/openwrt/pull/24232
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
case RTPCS_SDS_MODE_OFF:
*media = RTPCS_SDS_MEDIA_NONE;
break;
- case RTPCS_SDS_MODE_SGMII:
case RTPCS_SDS_MODE_1000BASEX:
case RTPCS_SDS_MODE_2500BASEX:
case RTPCS_SDS_MODE_10GBASER:
*media = RTPCS_SDS_MEDIA_FIBER;
break;
default:
+ /*
+ * SGMII, QSGMII, XSGMII and USXGMII always run into a PHY, be
+ * it on-board or embedded in an SFP copper module; either way
+ * the SerDes-to-PHY trace is short and the PHY equalizes for
+ * itself on the far end.
+ */
*media = RTPCS_SDS_MEDIA_PCB;
break;
}