diff options
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x_main.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 68d0ed3a50d7..49f8e7891626 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -59,8 +59,8 @@ | |||
59 | #include "bnx2x.h" | 59 | #include "bnx2x.h" |
60 | #include "bnx2x_init.h" | 60 | #include "bnx2x_init.h" |
61 | 61 | ||
62 | #define DRV_MODULE_VERSION "1.45.22" | 62 | #define DRV_MODULE_VERSION "1.45.23" |
63 | #define DRV_MODULE_RELDATE "2008/09/09" | 63 | #define DRV_MODULE_RELDATE "2008/11/03" |
64 | #define BNX2X_BC_VER 0x040200 | 64 | #define BNX2X_BC_VER 0x040200 |
65 | 65 | ||
66 | /* Time in jiffies before concluding the transmitter is hung */ | 66 | /* Time in jiffies before concluding the transmitter is hung */ |
@@ -6479,6 +6479,7 @@ load_int_disable: | |||
6479 | bnx2x_free_irq(bp); | 6479 | bnx2x_free_irq(bp); |
6480 | load_error: | 6480 | load_error: |
6481 | bnx2x_free_mem(bp); | 6481 | bnx2x_free_mem(bp); |
6482 | bp->port.pmf = 0; | ||
6482 | 6483 | ||
6483 | /* TBD we really need to reset the chip | 6484 | /* TBD we really need to reset the chip |
6484 | if we want to recover from this */ | 6485 | if we want to recover from this */ |
@@ -6789,6 +6790,7 @@ unload_error: | |||
6789 | /* Report UNLOAD_DONE to MCP */ | 6790 | /* Report UNLOAD_DONE to MCP */ |
6790 | if (!BP_NOMCP(bp)) | 6791 | if (!BP_NOMCP(bp)) |
6791 | bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE); | 6792 | bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE); |
6793 | bp->port.pmf = 0; | ||
6792 | 6794 | ||
6793 | /* Free SKBs, SGEs, TPA pool and driver internals */ | 6795 | /* Free SKBs, SGEs, TPA pool and driver internals */ |
6794 | bnx2x_free_skbs(bp); | 6796 | bnx2x_free_skbs(bp); |
@@ -10196,8 +10198,6 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev, | |||
10196 | return -ENOMEM; | 10198 | return -ENOMEM; |
10197 | } | 10199 | } |
10198 | 10200 | ||
10199 | netif_carrier_off(dev); | ||
10200 | |||
10201 | bp = netdev_priv(dev); | 10201 | bp = netdev_priv(dev); |
10202 | bp->msglevel = debug; | 10202 | bp->msglevel = debug; |
10203 | 10203 | ||
@@ -10221,6 +10221,8 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev, | |||
10221 | goto init_one_exit; | 10221 | goto init_one_exit; |
10222 | } | 10222 | } |
10223 | 10223 | ||
10224 | netif_carrier_off(dev); | ||
10225 | |||
10224 | bp->common.name = board_info[ent->driver_data].name; | 10226 | bp->common.name = board_info[ent->driver_data].name; |
10225 | printk(KERN_INFO "%s: %s (%c%d) PCI-E x%d %s found at mem %lx," | 10227 | printk(KERN_INFO "%s: %s (%c%d) PCI-E x%d %s found at mem %lx," |
10226 | " IRQ %d, ", dev->name, bp->common.name, | 10228 | " IRQ %d, ", dev->name, bp->common.name, |