]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: Simplify backing SerDes calculation
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Thu, 18 Sep 2025 05:53:22 +0000 (01:53 -0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 18 Sep 2025 08:44:35 +0000 (10:44 +0200)
commitbb783e8548c5e44edcb285393e54c7cd06fd455a
treea6115fd3e4eff9c9aebf28269a3e146452bd1d70
parentab492973342ce32cd3e3de98c885dfeb69446432
realtek: mdio: Simplify backing SerDes calculation

No need two write a dedicated 1:1 mapping function and link that
for all the targets except RTL931x. Combine everything into a generic
helper and reduce the configuration structure.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20078
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto-serdes.c