Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118411
b: refs/heads/master
c: 9a03544
h: refs/heads/master
i:
  118409: 2a70ec5
  118407: d2248c6
v: v3
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Nov 4, 2008
1 parent fec769b commit 55f5533
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee04448d8871e71f55520d62cf6adbf5dd403c99
refs/heads/master: 9a0354405feb0f8bd460349a93db05e4cca8d166
2 changes: 2 additions & 0 deletions trunk/drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6481,6 +6481,7 @@ static int bnx2x_nic_load(struct bnx2x *bp, int load_mode)
bnx2x_free_irq(bp);
load_error:
bnx2x_free_mem(bp);
bp->port.pmf = 0;

/* TBD we really need to reset the chip
if we want to recover from this */
Expand Down Expand Up @@ -6791,6 +6792,7 @@ static int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode)
/* Report UNLOAD_DONE to MCP */
if (!BP_NOMCP(bp))
bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE);
bp->port.pmf = 0;

/* Free SKBs, SGEs, TPA pool and driver internals */
bnx2x_free_skbs(bp);
Expand Down

0 comments on commit 55f5533

Please sign in to comment.