Every SerDes lane runs over some PCB trace before reaching the port,
even fiber/DAC ones, so PCB doesn't describe what actually
distinguishes this case: the SerDes terminates directly into a PHY
chip rather than a fiber module or DAC cable.
Link: https://github.com/openwrt/openwrt/pull/24232
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
RTPCS_SDS_MEDIA_FIBER,
RTPCS_SDS_MEDIA_DAC_SHORT, /* < 3m */
RTPCS_SDS_MEDIA_DAC_LONG, /* >= 3m */
- RTPCS_SDS_MEDIA_PCB,
+ RTPCS_SDS_MEDIA_PHY,
};
enum rtpcs_sds_pll_type {
* the SerDes-to-PHY trace is short and the PHY equalizes for
* itself on the far end.
*/
- *media = RTPCS_SDS_MEDIA_PCB;
+ *media = RTPCS_SDS_MEDIA_PHY;
break;
}
/*
* Empirical correction based on media type.
* Direct SerDes connections get a base offset of +3; DAC cables add further
- * correction for their attenuation. PHY-attached (PCB) needs none.
+ * correction for their attenuation. PHY-attached needs none.
*/
switch (sds->media) {
case RTPCS_SDS_MEDIA_FIBER: