]> www.infradead.org Git - users/hch/misc.git/commit
net: phylink: add support for notifying PCS about EEE
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 10 Feb 2025 10:53:39 +0000 (10:53 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 14 Feb 2025 21:42:51 +0000 (13:42 -0800)
commite9f03a6a879bffea0ee51af87ac7a0c77716dda6
treea7ab67f098e56fe8731b29c7e97d65e4f52ed8d6
parent6aa3960d8b52d0dfe469d7ff27e3bb981f68c2a1
net: phylink: add support for notifying PCS about EEE

There are hooks in the stmmac driver into XPCS to control the EEE
settings when LPI is configured at the MAC. This bypasses the layering.
To allow this to be removed from the stmmac driver, add two new
methods for PCS to inform them when the LPI/EEE enablement state
changes at the MAC.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1thRQ3-003w6u-RH@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c
include/linux/phylink.h