net: phylink: add pcs_enable()/pcs_disable() methods
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 13 Jul 2023 08:42:07 +0000 (09:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jul 2023 07:51:47 +0000 (08:51 +0100)
commit90ef0a7b0622c62758b2638604927867775479ea
tree6fbe85dc93424e916c833322eae8c711a88053e7
parent6963e463256e4a5fa1635b3636aa38b058668122
net: phylink: add pcs_enable()/pcs_disable() methods

Add phylink PCS enable/disable callbacks that will allow us to place
IEEE 802.3 register compliant PCS in power-down mode while not being
used.

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