mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 15:12:04 +00:00
drivers: net: fsl_enetc: Add 2.5Gbps to supported link speeds
The original code enabled link speeds up to 1Gbps, but the interface can go up to 2.5G, enable that speed to in PHY AN mask. Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
17bd7eae72
commit
307f8a6d1f
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue