Don't, when doing cam_fill_ctio, add a SIMPLE Q tag unless
TAG_ACTION_VALID is set.
This commit is contained in:
parent
bf43e4b847
commit
6bd19f4257
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user