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: Niklas Cassel <niklas.cassel@axis.com> Signed-off-by: Jesper Nilsson <jespern@axis.com> Acked-by: Lars Persson <larper@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
902943c0d7
commit
1826277802
|
@ -988,6 +988,7 @@ static int dwceqos_mii_probe(struct net_device *ndev)
|
|||
lp->link = 0;
|
||||
lp->speed = 0;
|
||||
lp->duplex = DUPLEX_UNKNOWN;
|
||||
lp->flowcontrol.autoneg = AUTONEG_ENABLE;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue