Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327709
b: refs/heads/master
c: 8f8b3d5
h: refs/heads/master
i:
  327707: a88e1a4
v: v3
  • Loading branch information
Ben Hutchings committed Aug 24, 2012
1 parent 37bb9cb commit 257c527
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adeb15aa1ce3413d461ec0958a979e9d64cd764c
refs/heads/master: 8f8b3d518999fd1c342310910aa1e49112c86d05
6 changes: 3 additions & 3 deletions trunk/drivers/net/ethernet/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2120,6 +2120,9 @@ static int efx_register_netdev(struct efx_nic *efx)
goto fail_locked;
efx_update_name(efx);

/* Always start with carrier off; PHY events will detect the link */
netif_carrier_off(net_dev);

rc = register_netdevice(net_dev);
if (rc)
goto fail_locked;
Expand All @@ -2130,9 +2133,6 @@ static int efx_register_netdev(struct efx_nic *efx)
efx_init_tx_queue_core_txq(tx_queue);
}

/* Always start with carrier off; PHY events will detect the link */
netif_carrier_off(net_dev);

rtnl_unlock();

rc = device_create_file(&efx->pci_dev->dev, &dev_attr_phy_type);
Expand Down

0 comments on commit 257c527

Please sign in to comment.