diff options
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 707c4bbe46a4..fbd71659cca6 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -9827,6 +9827,8 @@ static int bnx2x_open(struct net_device *dev) | |||
9827 | { | 9827 | { |
9828 | struct bnx2x *bp = netdev_priv(dev); | 9828 | struct bnx2x *bp = netdev_priv(dev); |
9829 | 9829 | ||
9830 | netif_carrier_off(dev); | ||
9831 | |||
9830 | bnx2x_set_power_state(bp, PCI_D0); | 9832 | bnx2x_set_power_state(bp, PCI_D0); |
9831 | 9833 | ||
9832 | return bnx2x_nic_load(bp, LOAD_OPEN); | 9834 | return bnx2x_nic_load(bp, LOAD_OPEN); |
@@ -10332,8 +10334,6 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev, | |||
10332 | goto init_one_exit; | 10334 | goto init_one_exit; |
10333 | } | 10335 | } |
10334 | 10336 | ||
10335 | netif_carrier_off(dev); | ||
10336 | |||
10337 | bp->common.name = board_info[ent->driver_data].name; | 10337 | bp->common.name = board_info[ent->driver_data].name; |
10338 | printk(KERN_INFO "%s: %s (%c%d) PCI-E x%d %s found at mem %lx," | 10338 | printk(KERN_INFO "%s: %s (%c%d) PCI-E x%d %s found at mem %lx," |
10339 | " IRQ %d, ", dev->name, bp->common.name, | 10339 | " IRQ %d, ", dev->name, bp->common.name, |