Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193800
b: refs/heads/master
c: 6b50ea1
h: refs/heads/master
v: v3
  • Loading branch information
Amit Kumar Salecha authored and David S. Miller committed Mar 29, 2010
1 parent a1be12f commit f89650f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ff90cd4a1dcfc03bf228d94f553619198e65bc42
refs/heads/master: 6b50ea1516fab30ce5843e5b11e43488f38c776d
4 changes: 4 additions & 0 deletions trunk/drivers/net/netxen/netxen_nic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2294,6 +2294,7 @@ netxen_fwinit_work(struct work_struct *work)
}
break;

case NX_DEV_NEED_RESET:
case NX_DEV_INITALIZING:
if (++adapter->fw_wait_cnt < FW_POLL_THRESH) {
netxen_schedule_work(adapter,
Expand Down Expand Up @@ -2337,6 +2338,9 @@ netxen_detach_work(struct work_struct *work)

ref_cnt = nx_decr_dev_ref_cnt(adapter);

if (ref_cnt == -EIO)
goto err_ret;

delay = (ref_cnt == 0) ? 0 : (2 * FW_POLL_DELAY);

adapter->fw_wait_cnt = 0;
Expand Down

0 comments on commit f89650f

Please sign in to comment.