drivers: net: fsl_enetc: use XFI, USXGMII interface type macros

Apply 10G PCS init for USXGMII, XFI interface types.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Alex Marginean 2019-11-14 18:28:38 +02:00 committed by Joe Hershberger
parent ee278acdf1
commit e22e3aff92

View file

@ -197,6 +197,8 @@ static void enetc_start_pcs(struct udevice *dev)
enetc_init_rgmii(dev);
break;
case PHY_INTERFACE_MODE_XGMII:
case PHY_INTERFACE_MODE_USXGMII:
case PHY_INTERFACE_MODE_XFI:
enetc_init_sxgmii(dev);
break;
};