Commit 9bddd73f authored by Fugang Duan's avatar Fugang Duan Committed by Fugang Duan

ENGR00235626 FEC: Enable phy pause frame feature

Since some ethernet MAC flow control is relied on phy pause
status, both link partners exchange information via auto neg to
determine if both parties are capable of flow control.
Advertise phy pause frame to avoid pause frame is not responsed
by the other net node.
Signed-off-by: default avatarFugang Duan  <>
parent 3f671aba
...@@ -1045,6 +1045,9 @@ static int fec_enet_mii_probe(struct net_device *ndev) ...@@ -1045,6 +1045,9 @@ static int fec_enet_mii_probe(struct net_device *ndev)
else else
phy_dev->supported &= PHY_BASIC_FEATURES; phy_dev->supported &= PHY_BASIC_FEATURES;
/* enable phy pause frame for any platform */
phy_dev->supported |= ADVERTISED_Pause;
phy_dev->advertising = phy_dev->supported; phy_dev->advertising = phy_dev->supported;
fep->phy_dev = phy_dev; fep->phy_dev = phy_dev;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment