net: dpaa2-mac: add 1000BASE-X support
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 5 Feb 2021 10:40:04 +0000 (10:40 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Feb 2021 22:35:21 +0000 (14:35 -0800)
commit46c518c8145bb23702d5b860c1bcdc7c51bdc3d4
tree1873f7a6c487008e91edcd0c047be623b2749d01
parent694a0006c0b15ed22aa53dc4b244d64c5f12e45e
net: dpaa2-mac: add 1000BASE-X support

Now that pcs-lynx supports 1000BASE-X, add support for this interface
mode to dpaa2-mac. pcs-lynx can be switched at runtime between SGMII
and 1000BASE-X mode, so allow dpaa2-mac to switch between these as
well.

This commit prepares the ground work for allowing 1G fiber connections
to be used with DPAA2 on the SolidRun CEX7 platforms.

Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c