|
@@ -6481,6 +6481,7 @@ load_int_disable:
|
|
bnx2x_free_irq(bp);
|
|
bnx2x_free_irq(bp);
|
|
load_error:
|
|
load_error:
|
|
bnx2x_free_mem(bp);
|
|
bnx2x_free_mem(bp);
|
|
|
|
+ bp->port.pmf = 0;
|
|
|
|
|
|
/* TBD we really need to reset the chip
|
|
/* TBD we really need to reset the chip
|
|
if we want to recover from this */
|
|
if we want to recover from this */
|
|
@@ -6791,6 +6792,7 @@ unload_error:
|
|
/* Report UNLOAD_DONE to MCP */
|
|
/* Report UNLOAD_DONE to MCP */
|
|
if (!BP_NOMCP(bp))
|
|
if (!BP_NOMCP(bp))
|
|
bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE);
|
|
bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE);
|
|
|
|
+ bp->port.pmf = 0;
|
|
|
|
|
|
/* Free SKBs, SGEs, TPA pool and driver internals */
|
|
/* Free SKBs, SGEs, TPA pool and driver internals */
|
|
bnx2x_free_skbs(bp);
|
|
bnx2x_free_skbs(bp);
|