aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2024-04-06 15:16:00 -0500
committerDavid S. Miller <davem@davemloft.net>2024-04-08 14:04:16 +0100
commitef460a8986fa0dae1cdcb158a06127f7af27c92d (patch)
tree31ff1c4b9688f0109d9fc4235331788720abd4a6 /tools/testing/selftests/net/lib/py/utils.py
parenta00bbd15a5af98d310792d3a7e052168ba088f08 (diff)
net: lan743x: Fixup EEE
The enabling/disabling of EEE in the MAC should happen as a result of auto negotiation. So move the enable/disable into lan743x_phy_link_status_change() which gets called by phylib when there is a change in link status. lan743x_ethtool_set_eee() now just programs the hardware with the LTI timer value, and passed everything else to phylib, so it can correctly setup the PHY. lan743x_ethtool_get_eee() relies on phylib doing most of the work, the MAC driver just adds the LTI timer value. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions