summaryrefslogtreecommitdiff
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2024-04-06 15:15:59 -0500
committerDavid S. Miller <davem@davemloft.net>2024-04-08 14:04:16 +0100
commita00bbd15a5af98d310792d3a7e052168ba088f08 (patch)
tree68e1342c2af4d0a0c77c0ca77f05109f846958a9 /drivers/rpmsg
parent382c60019ee769a8f3743e8340c063e4aa71231e (diff)
net: usb: lan78xx: Fixup EEE
The enabling/disabling of EEE in the MAC should happen as a result of auto negotiation. So move the enable/disable into lan783xx_phy_link_status_change() which gets called by phylib when there is a change in link status. lan78xx_set_eee() now just programs the hardware with the LPI timer value, and passed everything else to phylib, so it can correctly setup the PHY. lan743x_get_eee() relies on phylib doing most of the work, the MAC driver just adds the LPI timer value. Call phy_support_eee() to indicate the MAC does actually support EEE. 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 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions