diff options
author | Alex Marginean | 2019-11-14 18:28:38 +0200 |
---|---|---|
committer | Joe Hershberger | 2019-12-09 09:47:43 -0600 |
commit | e22e3aff923937add30f7f800197c9f5713ea611 (patch) | |
tree | 7345b01b30b1e7f51d4c70573146af18850a4ad1 | |
parent | ee278acdf1d5ed7ac670e2ccf5184417da6ca264 (diff) |
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>
-rw-r--r-- | drivers/net/fsl_enetc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index 0ca7e838a81..a7740deb6fa 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -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; }; |