net: mvpp2: split xlg and gmac pcs
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 1 Sep 2020 13:48:37 +0000 (14:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 21:52:33 +0000 (14:52 -0700)
commitc596d2cd1344d40fc3d9493e2dbc5c2796f30786
tree44d63e02a699efb98012707e0b0e2634b2e29f41
parent94bfe438bc0a7e6b0f946dae117c3656a511a417
net: mvpp2: split xlg and gmac pcs

Split the XLG and GMAC PCS implementations and switch between them
during the mac_prepare() method.

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