diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-06-26 21:26:21 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-02 04:25:02 +0400 |
commit | 219575eb6311ad090e26c675a6e217f5d48780a3 (patch) | |
tree | 515ab591e551f1bba9cafc6128881598c66d27e2 /drivers/net | |
parent | 0f50ce96b7c0488cffe64255694a2451b4347d09 (diff) | |
download | linux-219575eb6311ad090e26c675a6e217f5d48780a3.tar.xz |
net: bcmgenet: start with carrier off
We use the PHY library which will determine the link state for us, make
sure we start with a carrier off until libphy has completed the link
training.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmgenet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/genet/bcmgenet.c b/drivers/net/ethernet/broadcom/genet/bcmgenet.c index d17953cc5f49..e51e462bc8fd 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c @@ -2535,6 +2535,9 @@ static int bcmgenet_probe(struct platform_device *pdev) netif_set_real_num_tx_queues(priv->dev, priv->hw_params->tx_queues + 1); netif_set_real_num_rx_queues(priv->dev, priv->hw_params->rx_queues + 1); + /* libphy will determine the link state */ + netif_carrier_off(dev); + /* Turn off the main clock, WOL clock is handled separately */ if (!IS_ERR(priv->clk)) clk_disable_unprepare(priv->clk); |