Don't, when doing cam_fill_ctio, add a SIMPLE Q tag unless

TAG_ACTION_VALID is set.
This commit is contained in:
Matt Jacob 2000-07-14 21:09:25 +00:00
parent bf43e4b847
commit 6bd19f4257
2 changed files with 5 additions and 3 deletions

View File

@ -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,

View File

@ -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;