]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: split rtl838x reset and polling setup
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 10 Feb 2026 09:43:18 +0000 (10:43 +0100)
committerRobert Marko <robimarko@gmail.com>
Fri, 13 Feb 2026 11:53:46 +0000 (12:53 +0100)
commit159d6dc9f07494b6841383fcb0cd0ee7123a9772
treec358c59d653cce207070ce6a316fb6208995774d
parent086f1d347811e63487759ced90c5bc5985c86eda
realtek: mdio: split rtl838x reset and polling setup

The reset function of the RTL838x mdio bus does not only reset
things but sets up polling parameters too. Split this function.
While we are here give an anonymous bit a meaningful name.

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