Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31933
b: refs/heads/master
c: 3e00a5b
h: refs/heads/master
i:
  31931: 7a14daa
v: v3
  • Loading branch information
Eric Moore authored and James Bottomley committed Jul 1, 2006
1 parent 9103f5f commit 8072795
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 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: 376ac8307868f93a0b9aa277f43dee0f63c41c1b
refs/heads/master: 3e00a5b28782d65b7ac91e1e9812c281c2ec7af0
15 changes: 8 additions & 7 deletions trunk/drivers/message/fusion/mptbase.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,20 +369,21 @@ static irqreturn_t
mpt_interrupt(int irq, void *bus_id, struct pt_regs *r)
{
MPT_ADAPTER *ioc = bus_id;
u32 pa;
u32 pa = CHIPREG_READ32_dmasync(&ioc->chip->ReplyFifo);

if (pa == 0xFFFFFFFF)
return IRQ_NONE;

/*
* Drain the reply FIFO!
*/
while (1) {
pa = CHIPREG_READ32_dmasync(&ioc->chip->ReplyFifo);
if (pa == 0xFFFFFFFF)
return IRQ_HANDLED;
else if (pa & MPI_ADDRESS_REPLY_A_BIT)
do {
if (pa & MPI_ADDRESS_REPLY_A_BIT)
mpt_reply(ioc, pa);
else
mpt_turbo_reply(ioc, pa);
}
pa = CHIPREG_READ32_dmasync(&ioc->chip->ReplyFifo);
} while (pa != 0xFFFFFFFF);

return IRQ_HANDLED;
}
Expand Down

0 comments on commit 8072795

Please sign in to comment.