[PATCH net-next 0/2] net: Clean up some EEE code
From: Andrew Lunn
Date: Sat Apr 06 2024 - 16:16:49 EST
Previous patches have reworked the API between phylib and MAC drivers
with respect to EEE, pushing most of the work into phylib. These two
patches rework two drivers to make use of the new API, and fix their
EEE implementation, so that EEE is configured in the MAC based on what
is actually negotiated during autoneg.
Compile tested only.
Signed-off-by: Andrew Lunn <andrew@xxxxxxx>
---
Andrew Lunn (2):
net: usb: lan78xx: Fixup EEE
net: lan743x: Fixup EEE
drivers/net/ethernet/microchip/lan743x_ethtool.c | 21 ------------
drivers/net/ethernet/microchip/lan743x_main.c | 7 ++++
drivers/net/usb/lan78xx.c | 42 +++++++++++++-----------
3 files changed, 29 insertions(+), 41 deletions(-)
---
base-commit: 267e31750ae89f845cfe7df8f577b19482d9ef9b
change-id: 20240406-lan78xx-eee-6e40f57eaf04
Best regards,
--
Andrew Lunn <andrew@xxxxxxx>