net: mvpp2: use .mac_select_pcs() interface
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 15 Dec 2021 15:34:25 +0000 (15:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2021 10:37:13 +0000 (10:37 +0000)
commitcff0563223723a61a02b2d3f216d31c5bd859b54
tree319bde77ac899311ccca5310f9dafdc7c3959309
parent0d22d4b626a4eaa3196019092eb6c1919e9f8caa
net: mvpp2: use .mac_select_pcs() interface

Use the mac_select_pcs() method to choose between the GMAC and XLG
PCS implementations.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c