realtek: implement Clause-45 MDIO write on rtl931x
authorDaniel Golle <daniel@makrotopia.org>
Tue, 1 Feb 2022 01:49:45 +0000 (01:49 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
commitaf93bf6129d812937eeffc183878d60c6b700b7e
treeff8a3cf57677fe053045d8804713e9878bb6bdf1
parent854458f9861306f4f0803961ca6aa30134830790
realtek: implement Clause-45 MDIO write on rtl931x

 * Add missing Clause-45 write support for rtl931x
 * Switch to use helper functions in all Clause-45 access functions to
   make the code more readable.
 * More meaningful/unified debugging output (dynamic kprintf)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl931x.c
target/linux/realtek/files-5.10/drivers/net/ethernet/rtl838x_eth.c