diff options
author | Niklas Cassel <[email protected]> | 2016-10-18 09:20:55 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-18 10:29:17 -0400 |
commit | 1826277802d83b47d77e6a3e876aec07777aa271 (patch) | |
tree | 897e67cb076b8b8753d03d1a309dbf8c91363918 | |
parent | 902943c0d759a090490b2bf6c91a49395b353653 (diff) |
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 <[email protected]>
Signed-off-by: Jesper Nilsson <[email protected]>
Acked-by: Lars Persson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
-rw-r--r-- | drivers/net/ethernet/synopsys/dwc_eth_qos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/synopsys/dwc_eth_qos.c b/drivers/net/ethernet/synopsys/dwc_eth_qos.c index d775729648ef..5eedac495077 100644 --- a/drivers/net/ethernet/synopsys/dwc_eth_qos.c +++ b/drivers/net/ethernet/synopsys/dwc_eth_qos.c @@ -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; } |