]> git.dujemihanovic.xyz Git - linux.git/commit
net: phylink: Add phylink_set_fixed_link() to configure fixed link state in phylink
authorRussell King <linux@armlinux.org.uk>
Fri, 6 Sep 2024 10:35:07 +0000 (16:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Sep 2024 10:06:11 +0000 (11:06 +0100)
commit4b3fc475c61fa8733a9acc9d743f6cc9ca4915f5
treebcd012c2a21f08fbf95f7550fee5337ff3538936
parentf3b6129b7d252b2fbdcac2e0005abc6804dc287c
net: phylink: Add phylink_set_fixed_link() to configure fixed link state in phylink

The function allows for the configuration of a fixed link state for a given
phylink instance. This addition is particularly useful for network devices that
operate with a fixed link configuration, where the link parameters do not change
dynamically. By using `phylink_set_fixed_link()`, drivers can easily set up
the fixed link state during initialization or configuration changes.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <linux@armlinux.org.uk>
Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h