Commit 18262778 authored by Niklas Cassel's avatar Niklas Cassel Committed by David S. Miller

dwc_eth_qos: enable flow control by default

Allow autoneg to enable flow control by default.
The behavior when autoneg is off has not changed.
Signed-off-by: default avatarNiklas Cassel <niklas.cassel@axis.com>
Signed-off-by: default avatarJesper Nilsson <jespern@axis.com>
Acked-by: default avatarLars Persson <larper@axis.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 902943c0
...@@ -988,6 +988,7 @@ static int dwceqos_mii_probe(struct net_device *ndev) ...@@ -988,6 +988,7 @@ static int dwceqos_mii_probe(struct net_device *ndev)
lp->link = 0; lp->link = 0;
lp->speed = 0; lp->speed = 0;
lp->duplex = DUPLEX_UNKNOWN; lp->duplex = DUPLEX_UNKNOWN;
lp->flowcontrol.autoneg = AUTONEG_ENABLE;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment