realtek: pcs: rtl931x: use hardware mode for configuration
authorJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 15 Dec 2025 17:44:00 +0000 (17:44 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 23 Dec 2025 17:53:33 +0000 (18:53 +0100)
commit6079228b110138621a61d32a8acb3b4fa1c2579f
tree7617bc100fc7080bd0a88dd8dc3650354b371882
parentd7a184e3b1fbb7b6c039bfd6ff88be7c581409cd
realtek: pcs: rtl931x: use hardware mode for configuration

Pass the SerDes hardware mode to rtpcs_931x_sds_config_mode instead of
the PHY_INTERFACE_MODE_* mode and use it. Replace matched modes
accordingly.

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>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c