net: dsa: mt7530: partially convert to phylink_pcs
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 11 Apr 2022 09:46:27 +0000 (10:46 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 12 Apr 2022 08:33:15 +0000 (10:33 +0200)
commit863b0238a72698e1fd085ec360eaf27a9cf5728d
tree7f74a6790b136aa319600313311e02199a1eb472
parent9ec7df0ca1d49f24ba6c6f57d8f5fa62434021e6
net: dsa: mt7530: partially convert to phylink_pcs

Partially convert the mt7530 driver to use phylink's PCS support. This
is a partial implementation as we don't move anything into the
pcs_config method yet - this driver supports SGMII or 1000BASE-X
without in-band.

Tested-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h