diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ixgbevf/ixgbevf_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c index 1d7de555e630..5b8063cb4e6c 100644 --- a/drivers/net/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ixgbevf/ixgbevf_main.c | |||
@@ -3425,10 +3425,6 @@ static int __devinit ixgbevf_probe(struct pci_dev *pdev, | |||
3425 | if (hw->mac.ops.get_bus_info) | 3425 | if (hw->mac.ops.get_bus_info) |
3426 | hw->mac.ops.get_bus_info(hw); | 3426 | hw->mac.ops.get_bus_info(hw); |
3427 | 3427 | ||
3428 | |||
3429 | netif_carrier_off(netdev); | ||
3430 | netif_tx_stop_all_queues(netdev); | ||
3431 | |||
3432 | strcpy(netdev->name, "eth%d"); | 3428 | strcpy(netdev->name, "eth%d"); |
3433 | 3429 | ||
3434 | err = register_netdev(netdev); | 3430 | err = register_netdev(netdev); |
@@ -3437,6 +3433,8 @@ static int __devinit ixgbevf_probe(struct pci_dev *pdev, | |||
3437 | 3433 | ||
3438 | adapter->netdev_registered = true; | 3434 | adapter->netdev_registered = true; |
3439 | 3435 | ||
3436 | netif_carrier_off(netdev); | ||
3437 | |||
3440 | ixgbevf_init_last_counter_stats(adapter); | 3438 | ixgbevf_init_last_counter_stats(adapter); |
3441 | 3439 | ||
3442 | /* print the MAC address */ | 3440 | /* print the MAC address */ |