diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-12-15 15:34:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-16 10:37:13 +0000 |
commit | cff0563223723a61a02b2d3f216d31c5bd859b54 (patch) | |
tree | 319bde77ac899311ccca5310f9dafdc7c3959309 /drivers/net/ethernet/marvell/mvpp2/mvpp2.h | |
parent | 0d22d4b626a4eaa3196019092eb6c1919e9f8caa (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2/mvpp2.h')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h index cf8acabb90ac..ad73a488fc5f 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2.h +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2.h @@ -1239,7 +1239,8 @@ struct mvpp2_port { phy_interface_t phy_interface; struct phylink *phylink; struct phylink_config phylink_config; - struct phylink_pcs phylink_pcs; + struct phylink_pcs pcs_gmac; + struct phylink_pcs pcs_xlg; struct phy *comphy; struct mvpp2_bm_pool *pool_long; |