Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255533
b: refs/heads/master
c: 361c391
h: refs/heads/master
i:
  255531: bb72f09
v: v3
  • Loading branch information
Yaniv Rosner authored and David S. Miller committed Jun 15, 2011
1 parent bc8744b commit a89269a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30ae438b120bc63caa2328733c7c7119d5d29842
refs/heads/master: 361c391e2339eb8d479feec9042ec6e822593350
10 changes: 8 additions & 2 deletions trunk/drivers/net/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2847,9 +2847,15 @@ static void bnx2x_attn_int_asserted(struct bnx2x *bp, u32 asserted)

/* save nig interrupt mask */
nig_mask = REG_RD(bp, nig_int_mask_addr);
REG_WR(bp, nig_int_mask_addr, 0);

bnx2x_link_attn(bp);
/* If nig_mask is not set, no need to call the update
* function.
*/
if (nig_mask) {
REG_WR(bp, nig_int_mask_addr, 0);

bnx2x_link_attn(bp);
}

/* handle unicore attn? */
}
Expand Down

0 comments on commit a89269a

Please sign in to comment.