realtek: pcs: rename SerDes mode field

Rename the mode field in rtpcs_serdes from 'mode' to 'hw_mode' to make
clear what it actually is, to avoid confusion with the phy_interface_t
'mode' usually passed to functions.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21184
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Jonas Jelonek 2025-12-17 21:33:17 +00:00 committed by Hauke Mehrtens
parent dbf2cf1f00
commit 1912f45b48

View File

@ -134,7 +134,7 @@ struct rtpcs_ctrl;
struct rtpcs_serdes {
struct rtpcs_ctrl *ctrl;
u8 id;
enum rtpcs_sds_mode mode;
enum rtpcs_sds_mode hw_mode;
bool rx_pol_inv;
bool tx_pol_inv;