Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80585
b: refs/heads/master
c: 969ceff
h: refs/heads/master
i:
  80583: ac17e81
v: v3
  • Loading branch information
David Milburn authored and James Bottomley committed Jan 30, 2008
1 parent 5822756 commit 1d03533
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 2adbfa333ad2c365bd27f3cf21ae464501d9619d
refs/heads/master: 969ceffb6696ac361db9dbc33c83f855dbdb1528
9 changes: 6 additions & 3 deletions trunk/drivers/scsi/aic7xxx/aic7xxx_osm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1658,9 +1658,12 @@ ahc_done(struct ahc_softc *ahc, struct scb *scb)
untagged_q = &(ahc->untagged_queues[target_offset]);
TAILQ_REMOVE(untagged_q, scb, links.tqe);
BUG_ON(!TAILQ_EMPTY(untagged_q));
}

if ((scb->flags & SCB_ACTIVE) == 0) {
} else if ((scb->flags & SCB_ACTIVE) == 0) {
/*
* Transactions aborted from the untagged queue may
* not have been dispatched to the controller, so
* only check the SCB_ACTIVE flag for tagged transactions.
*/
printf("SCB %d done'd twice\n", scb->hscb->tag);
ahc_dump_card_state(ahc);
panic("Stopping for safety");
Expand Down

0 comments on commit 1d03533

Please sign in to comment.