Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149789
b: refs/heads/master
c: 3a6d1bc
h: refs/heads/master
i:
  149787: 2ba6b3a
v: v3
  • Loading branch information
Jesse Brandeburg authored and David S. Miller committed Apr 20, 2009
1 parent 1b4ae12 commit b8c20ea
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 5438646724c34c2180664a57f862a1da8dd21db1
refs/heads/master: 3a6d1bc4163fee27c312184d5f1a9cc1e110d300
8 changes: 5 additions & 3 deletions trunk/drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,8 @@ ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
if (err)
goto err_register;

/* we're going to reset, so assume we have no link for now */

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

DPRINTK(PROBE, INFO, "Intel(R) PRO/10GbE Network Connection\n");
ixgb_check_options(adapter);
Expand Down Expand Up @@ -592,6 +590,8 @@ ixgb_open(struct net_device *netdev)
if (err)
goto err_setup_tx;

netif_carrier_off(netdev);

/* allocate receive descriptors */

err = ixgb_setup_rx_resources(adapter);
Expand All @@ -602,6 +602,8 @@ ixgb_open(struct net_device *netdev)
if (err)
goto err_up;

netif_start_queue(netdev);

return 0;

err_up:
Expand Down

0 comments on commit b8c20ea

Please sign in to comment.