Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130181
b: refs/heads/master
c: 7cde1c8
h: refs/heads/master
i:
  130179: e033726
v: v3
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Jan 22, 2009
1 parent e65792e commit 93b4433
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 6eccabb301d442e6106ecc84b07a976c2816d9fb
refs/heads/master: 7cde1c8b79f913a0158bae4f4c612de2cb98e7e4
6 changes: 6 additions & 0 deletions trunk/drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6547,6 +6547,8 @@ static int bnx2x_nic_load(struct bnx2x *bp, int load_mode)
bnx2x_free_irq(bp);
load_error1:
bnx2x_napi_disable(bp);
for_each_queue(bp, i)
netif_napi_del(&bnx2x_fp(bp, i, napi));
bnx2x_free_mem(bp);

/* TBD we really need to reset the chip
Expand Down Expand Up @@ -6855,6 +6857,8 @@ static int bnx2x_nic_unload(struct bnx2x *bp, int unload_mode)
bnx2x_free_skbs(bp);
for_each_queue(bp, i)
bnx2x_free_rx_sge_range(bp, bp->fp + i, NUM_RX_SGE);
for_each_queue(bp, i)
netif_napi_del(&bnx2x_fp(bp, i, napi));
bnx2x_free_mem(bp);

bp->state = BNX2X_STATE_CLOSED;
Expand Down Expand Up @@ -10481,6 +10485,8 @@ static int bnx2x_eeh_nic_unload(struct bnx2x *bp)
bnx2x_free_skbs(bp);
for_each_queue(bp, i)
bnx2x_free_rx_sge_range(bp, bp->fp + i, NUM_RX_SGE);
for_each_queue(bp, i)
netif_napi_del(&bnx2x_fp(bp, i, napi));
bnx2x_free_mem(bp);

bp->state = BNX2X_STATE_CLOSED;
Expand Down

0 comments on commit 93b4433

Please sign in to comment.