]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: port naming cleanups
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 5 May 2026 17:05:21 +0000 (19:05 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 11 May 2026 08:32:29 +0000 (10:32 +0200)
commitcd87cef06f5d330609f27c87f5e830d38eca7e14
tree850455ffcc7f47afa840b0dffcb412bb73acf1fe
parent7f01a22d92480d300caa5300826de3e6db062a39
realtek: mdio: port naming cleanups

Be consistent with the rest of the code and make clear when the
driver accesses ports. For this rename num_phys to num_ports.
Additionally make the device specific port numbers a define and
use them in the configuration structure.

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