diff options
author | Fugang Duan <b38611@freescale.com> | 2012-11-29 08:55:12 +0000 |
---|---|---|
committer | Fugang Duan <B38611@freescale.com> | 2012-12-05 18:27:08 +0800 |
commit | 59530a47d2690f4762646c127a7a751bf47b6ff6 (patch) | |
tree | 06b01bacac128f9a2a6f1b6116a3755e515278c7 /drivers/net | |
parent | 3a64cce1b3563c2369273ef6e540756430b9855d (diff) |
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: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'drivers/net')
-rwxr-xr-x | drivers/net/fec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 6fafd9152d0b..4b5818e4d71e 100755 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -1045,6 +1045,9 @@ static int fec_enet_mii_probe(struct net_device *ndev) else phy_dev->supported &= PHY_BASIC_FEATURES; + /* enable phy pause frame for any platform */ + phy_dev->supported |= ADVERTISED_Pause; + phy_dev->advertising = phy_dev->supported; fep->phy_dev = phy_dev; |