Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167526
b: refs/heads/master
c: efd7d26
h: refs/heads/master
v: v3
  • Loading branch information
Ron Mercer authored and David S. Miller committed Oct 9, 2009
1 parent 4894751 commit 8f8c727
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: 2cd6dbaaf43ca9ec5607239c23c4e9793b702e1b
refs/heads/master: efd7d2619f2e5da222ad34fef3e8f47730cd8f2c
4 changes: 4 additions & 0 deletions trunk/drivers/net/qlge/qlge_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,8 @@ void ql_mpi_work(struct work_struct *work)
int err = 0;

rtnl_lock();
/* Begin polled mode for MPI */
ql_write32(qdev, INTR_MASK, (INTR_MASK_PI << 16));

while (ql_read32(qdev, STS) & STS_PI) {
memset(mbcp, 0, sizeof(struct mbox_params));
Expand All @@ -977,6 +979,8 @@ void ql_mpi_work(struct work_struct *work)
break;
}

/* End polled mode for MPI */
ql_write32(qdev, INTR_MASK, (INTR_MASK_PI << 16) | INTR_MASK_PI);
rtnl_unlock();
ql_enable_completion_interrupt(qdev, 0);
}
Expand Down

0 comments on commit 8f8c727

Please sign in to comment.