diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2000-07-14 21:09:25 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2000-07-14 21:09:25 +0000 |
| commit | 6bd19f42576cfb4ae5b7f1a995d6f054fc828ff2 (patch) | |
| tree | 78c95eba45dec6335964a37aab1c7be1b0fef542 | |
| parent | bf43e4b847afbc2e4242769b2b5a8bef89094676 (diff) | |
Notes
| -rw-r--r-- | sys/cam/scsi/scsi_targ_bh.c | 3 | ||||
| -rw-r--r-- | sys/cam/scsi/scsi_target.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/cam/scsi/scsi_targ_bh.c b/sys/cam/scsi/scsi_targ_bh.c index 011cfcee0638..d3ceffa5a957 100644 --- a/sys/cam/scsi/scsi_targ_bh.c +++ b/sys/cam/scsi/scsi_targ_bh.c @@ -511,7 +511,8 @@ targbhstart(struct cam_periph *periph, union ccb *start_ccb) /*retries*/2, targbhdone, flags, - /*tag_action*/MSG_SIMPLE_Q_TAG, + (flags & CAM_TAG_ACTION_VALID)? + MSG_SIMPLE_Q_TAG : 0, atio->tag_id, atio->init_id, desc->status, diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c index a1acea0d36a9..fd337b941c72 100644 --- a/sys/cam/scsi/scsi_target.c +++ b/sys/cam/scsi/scsi_target.c @@ -1361,7 +1361,8 @@ targstart(struct cam_periph *periph, union ccb *start_ccb) /*retries*/2, targdone, flags, - /*tag_action*/MSG_SIMPLE_Q_TAG, + (flags & CAM_TAG_ACTION_VALID)? + MSG_SIMPLE_Q_TAG : 0, atio->tag_id, atio->init_id, desc->status, @@ -1796,7 +1797,7 @@ targdone(struct cam_periph *periph, union ccb *done_ccb) * controller to handle more work. */ CAM_DEBUG(periph->path, CAM_DEBUG_PERIPH, - ("Returning ATIO to target\n")); + ("Returning ATIO to target SIM\n")); atio->ccb_h.ccb_flags = TARG_CCB_NONE; xpt_action((union ccb *)atio); break; |
