diff options
| author | Jonas Jelonek | 2025-12-17 21:33:17 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-12-23 17:53:33 +0000 |
| commit | 1912f45b485d1dec0bc2781914f789bedd890c67 (patch) | |
| tree | 1b86ec9654cdfe964f1fb8320fc6fbadea0a29a8 | |
| parent | dbf2cf1f004654ec71d1b26aad0fb8778d1fd637 (diff) | |
| download | xback-1912f45b485d1dec0bc2781914f789bedd890c67.tar.gz | |
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>
| -rw-r--r-- | target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c index 0a1d994da7..cdc18c0505 100644 --- a/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c +++ b/target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c @@ -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; |