]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: do not open code phy detection
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 10 Feb 2026 13:06:01 +0000 (14:06 +0100)
committerRobert Marko <robimarko@gmail.com>
Fri, 13 Feb 2026 11:53:46 +0000 (12:53 +0100)
commit64d72c74516f330153d69d02ff8693fb299b5b04
treef92b817ea83cd854c6ce8f2945c8d3ea1342c68b
parent4e003062f7373d081532ae5d48e7c7c82c64d279
realtek: mdio: do not open code phy detection

The mdio bus no longer mixes reset and polling setup. There is now
a clear distinction between both parts and polling setup can rely
on an initialized bus. With that in place skip the open coded phy
detection and use standard kernel functions instead.

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