diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fsl_enetc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index c94ba240f8..64dc244da2 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -215,8 +215,9 @@ static void enetc_config_phy(struct udevice *dev) if (!priv->phy) return; - supported = GENMASK(6, 0); /* speeds up to 1G & AN */ - priv->phy->advertising = priv->phy->supported & supported; + supported = PHY_GBIT_FEATURES | SUPPORTED_2500baseX_Full; + priv->phy->supported &= supported; + priv->phy->advertising &= supported; phy_config(priv->phy); } |