net: dsa: b53: convert to phylink_pcs
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 29 Apr 2022 16:43:03 +0000 (09:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 May 2022 16:51:06 +0000 (17:51 +0100)
commit79396934e289dbc501316c1d1f975bb4c88ae460
tree0d3c98d3b922f664db289d59ad7432e7bde47527
parent6b292a04c694573a302686323fe15b1c7e673e5b
net: dsa: b53: convert to phylink_pcs

Convert B53 to use phylink_pcs for the serdes rather than hooking it
into the MAC-layer callbacks.

Fixes: 81c1681cbb9f ("net: dsa: b53: mark as non-legacy")
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h
drivers/net/dsa/b53/b53_serdes.c
drivers/net/dsa/b53/b53_serdes.h
drivers/net/dsa/b53/b53_srab.c