realtek: 6.12: proper mdio c45 handling in DSA driver
authorMarkus Stockhausen <[email protected]>
Tue, 3 Jun 2025 14:46:00 +0000 (10:46 -0400)
committerRobert Marko <[email protected]>
Wed, 11 Jun 2025 20:27:22 +0000 (22:27 +0200)
commit30fae30e038ba6a5fe8184fa339355cfcfd15c43
treeae4efb1ca0e44c637f42c4a2293e89f204086337
parent65cf5b74c5c1cfd73e3315228fbac175fab5549c
realtek: 6.12: proper mdio c45 handling in DSA driver

As the mdio bus has been hardened and can now handle c45 requests
the DSA driver must honor that as well. For this

- add proper upstreamed bus read_c45 and write_c45 functions
- take over the disabled port mask from upstream bus

Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18935
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c