Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149788
b: refs/heads/master
c: 5438646
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Brandeburg authored and David S. Miller committed Apr 20, 2009
1 parent 2ba6b3a commit 1b4ae12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 3ef8e4e9e4d18910cd03dcd481a5dced437b83cf
refs/heads/master: 5438646724c34c2180664a57f862a1da8dd21db1
7 changes: 5 additions & 2 deletions trunk/drivers/net/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3459,6 +3459,8 @@ static int ixgbe_open(struct net_device *netdev)
if (test_bit(__IXGBE_TESTING, &adapter->state))
return -EBUSY;

netif_carrier_off(netdev);

/* allocate transmit descriptors */
err = ixgbe_setup_all_tx_resources(adapter);
if (err)
Expand Down Expand Up @@ -4772,13 +4774,14 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
/* reset the hardware with the new settings */
hw->mac.ops.start_hw(hw);

netif_carrier_off(netdev);

strcpy(netdev->name, "eth%d");
err = register_netdev(netdev);
if (err)
goto err_register;

/* carrier off reporting is important to ethtool even BEFORE open */
netif_carrier_off(netdev);

#ifdef CONFIG_IXGBE_DCA
if (dca_add_requester(&pdev->dev) == 0) {
adapter->flags |= IXGBE_FLAG_DCA_ENABLED;
Expand Down

0 comments on commit 1b4ae12

Please sign in to comment.