]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: add helper phy_advertise_eee_all
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 3 Feb 2024 19:53:15 +0000 (20:53 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 7 Feb 2024 02:58:45 +0000 (18:58 -0800)
commitb64691274f5d33fc9d93af73483162967f7ec5bb
treed5f939e8f5201cdf346abd50c52f985f3ea3ecd0
parent2813ca8d64906d744da5e4fb3f47f692549c5d5b
net: phy: add helper phy_advertise_eee_all

Per default phylib preserves the EEE advertising at the time of
phy probing. The EEE advertising can be changed from user space,
in addition this helper allows to set the EEE advertising to all
supported modes from drivers in kernel space.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20bfc471-aeeb-4ae4-ba09-7d6d4be6b86a@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy_device.c
include/linux/phy.h