net: phylink: add interface to configure clause 22 PCS PHY
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Jul 2020 11:04:51 +0000 (12:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 22:46:51 +0000 (15:46 -0700)
commit93eaceb0fcf87b7f70924f9da3ec27e3c73be53d
tree49f780f8dfb3c20617cb86578df0c490a729eeec
parent7137e18f6f889a67046d5004e1690a32d7d2108d
net: phylink: add interface to configure clause 22 PCS PHY

Add an interface to configure the advertisement for a clause 22 PCS
PHY, and set the AN enable flag in the BMCR appropriately.

Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h