diff options
| author | Markus Stockhausen | 2025-12-24 11:47:06 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-12-29 11:57:05 +0000 |
| commit | 87a3c62e3288746cd01b642b26c1947deeaba45c (patch) | |
| tree | 54c2831827493bb2921e264fb2dbc8cc16f5bf92 | |
| parent | b7f519ff3db0449ba7cde29f8f7c623332048ef8 (diff) | |
| download | openwrt-87a3c62e3288746cd01b642b26c1947deeaba45c.tar.gz | |
realtek: mdio: give bus a family independent name
There is no need to give the mdio bus a family dependent name.
Name the bus similar to the SerDes mdio bus.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21274
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c b/target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c index 14f3e1668e..176c152fec 100644 --- a/target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c +++ b/target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c @@ -1439,23 +1439,20 @@ static int rtmdio_probe(struct platform_device *pdev) switch (family) { case RTMDIO_838X_FAMILY_ID: - bus->name = "rtl838x-eth-mdio"; bus->reset = rtmdio_838x_reset; break; case RTMDIO_839X_FAMILY_ID: - bus->name = "rtl839x-eth-mdio"; bus->reset = rtmdio_839x_reset; break; case RTMDIO_930X_FAMILY_ID: - bus->name = "rtl930x-eth-mdio"; bus->reset = rtmdio_930x_reset; break; case RTMDIO_931X_FAMILY_ID: - bus->name = "rtl931x-eth-mdio"; bus->reset = rtmdio_931x_reset; break; } + bus->name = "Realtek MDIO bus"; bus->read = rtmdio_read; bus->write = rtmdio_write; bus->read_c45 = rtmdio_read_c45; |