Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277506
b: refs/heads/master
c: 72f0248
h: refs/heads/master
v: v3
  • Loading branch information
Sathya Perla authored and David S. Miller committed Nov 12, 2011
1 parent 5bf32ee commit 108726f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 30128031d71741ef7d0e32c345e3bf02aa8a0704
refs/heads/master: 72f02485626b3e71955e54d227ede1b54021d571
6 changes: 4 additions & 2 deletions trunk/drivers/net/ethernet/emulex/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1978,6 +1978,9 @@ void be_detect_dump_ue(struct be_adapter *adapter)
u32 sliport_status = 0, sliport_err1 = 0, sliport_err2 = 0;
u32 i;

if (adapter->eeh_err || adapter->ue_detected)
return;

if (lancer_chip(adapter)) {
sliport_status = ioread32(adapter->db + SLIPORT_STATUS_OFFSET);
if (sliport_status & SLIPORT_STATUS_ERR_MASK) {
Expand Down Expand Up @@ -2039,8 +2042,7 @@ static void be_worker(struct work_struct *work)
struct be_rx_obj *rxo;
int i;

if (!adapter->ue_detected)
be_detect_dump_ue(adapter);
be_detect_dump_ue(adapter);

/* when interrupts are not yet enabled, just reap any pending
* mcc completions */
Expand Down

0 comments on commit 108726f

Please sign in to comment.