Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63691
b: refs/heads/master
c: 0ceb479
h: refs/heads/master
i:
  63689: 16ef72b
  63687: f807b79
v: v3
  • Loading branch information
Boaz Harrosh authored and James Bottomley committed Aug 4, 2007
1 parent a6281cd commit 2461779
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b1ee0795276f976118f832313488e6daf83ff542
refs/heads/master: 0ceb47987d31f8529c60f1e802e0523fcde9492c
8 changes: 4 additions & 4 deletions trunk/drivers/scsi/aha152x.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ static int aha152x_internal_queue(Scsi_Cmnd *SCpnt, struct completion *complete,
SCpnt->scsi_done = done;
SCpnt->resid = SCpnt->request_bufflen;
SCpnt->SCp.phase = not_issued | phase;
SCpnt->SCp.Status = CHECK_CONDITION;
SCpnt->SCp.Status = 0x1; /* Ilegal status by SCSI standard */
SCpnt->SCp.Message = 0;
SCpnt->SCp.have_data_in = 0;
SCpnt->SCp.sent_command = 0;
Expand Down Expand Up @@ -1574,20 +1574,20 @@ static void busfree_run(struct Scsi_Host *shpnt)
cmd->use_sg = sc->use_sg;
cmd->cmd_len = sc->cmd_len;

cmd->SCp.Status = 0x02;
cmd->SCp.Status = SAM_STAT_CHECK_CONDITION;

HOSTDATA(shpnt)->commands--;
if (!HOSTDATA(shpnt)->commands)
SETPORT(PORTA, 0); /* turn led off */
} else if(DONE_SC->SCp.Status==0x02) {
} else if(DONE_SC->SCp.Status==SAM_STAT_CHECK_CONDITION) {
#if defined(AHA152X_STAT)
HOSTDATA(shpnt)->busfree_with_check_condition++;
#endif
#if 0
DPRINTK(debug_eh, ERR_LEAD "CHECK CONDITION found\n", CMDINFO(DONE_SC));
#endif

if(!(DONE_SC->SCp.Status & not_issued)) {
if(!(DONE_SC->SCp.phase & not_issued)) {
Scsi_Cmnd *ptr = DONE_SC;
DONE_SC=NULL;
#if 0
Expand Down

0 comments on commit 2461779

Please sign in to comment.