]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl931x: align SerDes access with other targets 19973/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 7 Sep 2025 12:46:16 +0000 (08:46 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 12 Sep 2025 18:52:37 +0000 (20:52 +0200)
commit69ce2eeb97bd86162026f4a7b9c9d53084b2df21
tree4c54cf4aa9c03a8739a35d16aaa8abcdf43bf660
parent36d0690993ba90321fd0c004e5f3c66ac10966ee
realtek: rtl931x: align SerDes access with other targets

While converting the RTL931x SerDes code to the new frontend
access methods, the target specific workarounds where left in
place. The old functions were kept and the phy/sds mapping
was unchanged too. It is time to clean this up

- drop the old functions
- reuse the existing read/write logic
- harden the new functions

For now keep the function naming rtmdio_...__new() as is. This
will be changed in a future commit.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19973
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c