]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: rename main mdio bus 21702/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 25 Jan 2026 17:19:44 +0000 (18:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 7 Feb 2026 16:41:59 +0000 (17:41 +0100)
commitdd7e88461e10aa70fec3945924e57d3539ef1c57
tree261e8d8a231d385ade1971c9f368ac75166e887f
parent27a2cbedf3b4bc8bf205ab6fadab06252a5fc245
realtek: mdio: rename main mdio bus

Looking at the Realtek mdio busses there are curently the following

root@OpenWrt:~# mdio
1b000000.switchcore:mdio-controller-mii
fixed-0
realtek-aux-mdio
realtek-serdes-mdio
rtldsa_mdio-0

The main mdio bus for the phys is named after the dts node it belongs
to (1b000000.switchcore:mdio-controller-mii). As it is attached to the
controller node it is even more confusing.

Align the naming to the other busses and use "realtek-mdio".

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