From: Jonas Jelonek Date: Sun, 5 Jul 2026 17:17:30 +0000 (+0000) Subject: realtek: pcs: rtl930x: rename last numbered calibration function X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87e02936a4de432f2ba92e53151b4248ea4fc259;p=thirdparty%2Fopenwrt.git realtek: pcs: rtl930x: rename last numbered calibration function One calibration function was renamed from the numbered naming before, mostly because its full purpose wasn't known yet. This has changed now, so rename that function to "rxcal_init" to reflect what it's doing. Link: https://github.com/openwrt/openwrt/pull/24091 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c b/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c index bb6b1c82191..86454727374 100644 --- a/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c +++ b/target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c @@ -2320,8 +2320,7 @@ static void rtpcs_930x_sds_rxcal_tap_get(struct rtpcs_serdes *sds, } } -static void rtpcs_930x_sds_do_rx_calibration_1(struct rtpcs_serdes *sds, - enum rtpcs_sds_mode hw_mode) +static void rtpcs_930x_sds_rxcal_init(struct rtpcs_serdes *sds, enum rtpcs_sds_mode hw_mode) { /* From both rtl9300_rxCaliConf_serdes_myParam and rtl9300_rxCaliConf_phy_myParam */ int tap0_init_val = 0x1f; /* Initial Decision Fed Equalizer 0 tap */ @@ -2584,7 +2583,7 @@ static void rtpcs_930x_sds_do_rx_calibration(struct rtpcs_serdes *sds, { u32 latch_sts; - rtpcs_930x_sds_do_rx_calibration_1(sds, hw_mode); + rtpcs_930x_sds_rxcal_init(sds, hw_mode); rtpcs_930x_sds_rxcal_fgcal(sds); rtpcs_930x_sds_rxcal_vth_tap0_adapt_lock(sds);