drivers: net: fsl_enetc: fix SXGMII MAC configuration
authorAlex Marginean <alexandru.marginean@nxp.com>
Fri, 10 Jan 2020 21:32:20 +0000 (23:32 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 24 Jan 2020 08:58:26 +0000 (14:28 +0530)
commitb8e4eec79cb4e4c9a08084050a2111d13aa6a260
tree8094ff038ea6066c75de1a3c17f9f18f763e912f
parent69b3894e6fe91d260cac1a7ab34f16c4a0c92f66
drivers: net: fsl_enetc: fix SXGMII MAC configuration

Separate MAC and serdes configuration, MAC configuration must be applied
at each enetc_start() as FLR clears it.
This restores traffic for ENETC interfaces in USXGMII mode.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fsl_enetc.c