net: phylink: add support for PCS link change notifications
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 13 Jul 2023 08:42:17 +0000 (09:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 07:51:48 +0000 (08:51 +0100)
commit24699cc1ff3e633d7c3a0d3ef394243db11757ec
tree5970b48470ba6dd2c06301f6a776c3b1845d2037
parentaee6098822ed8a298ad817da8339ba4c7ea381fe
net: phylink: add support for PCS link change notifications

Add a function, phylink_pcs_change() which can be used by PCs drivers
to notify phylink about changes to the PCS link state.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h