]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: 6.12: refactor EEE for RTL8218B/D and RTL8214FC 18935/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 3 Jun 2025 18:57:09 +0000 (14:57 -0400)
committerRobert Marko <robimarko@gmail.com>
Wed, 11 Jun 2025 20:27:22 +0000 (22:27 +0200)
commitc9e934ffd87774a64fa0c8a2af92373ef1d0894f
tree7d80314029f9471b00515e13b11888fbbde925ba
parentec310a0993e74d64ebf9bd2b649a3ac321e3bf82
realtek: 6.12: refactor EEE for RTL8218B/D and RTL8214FC

Three different code paths for the same phy model. Now the bus
is prepared to handle c45 (mmd) read/writes correctly. Remove
the custom implementations and let generic kernel functions do
their best. To achieve this

- disable the PHY-mode EEE in rtl821x_config_init() as upstream does
- provide mmd read/write functions that avoid EEE via c45 over c22

While chaning the phy_driver functions sort them alphabetically.

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