aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2005-01-23 06:28:08 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2005-01-23 06:28:08 +0000
commit182d1c037efb3f07f9a6806d45e86f852e78f9db (patch)
treecf772ea98748cdc35edfd1d3bacf52b77fced2e6 /sys/dev/isp
parent99334b0de4685e5123ca9b19897a91577f382691 (diff)
Notes
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp_target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c
index 1d4dc6bd86e5a..1d4b397bbad5f 100644
--- a/sys/dev/isp/isp_target.c
+++ b/sys/dev/isp/isp_target.c
@@ -578,7 +578,7 @@ isp_got_msg(struct ispsoftc *isp, int bus, in_entry_t *inp)
msg.nt_tgt = inp->in_tgt;
msg.nt_lun = inp->in_lun;
msg.nt_tagtype = inp->in_tag_type;
- msg.nt_tagval = inp->in_tag_val;
+ IN_MAKE_TAGID(msg.nt_tagval, 0, inp);
MEMCPY(msg.nt_msg, inp->in_msg, IN_MSGLEN);
(void) isp_async(isp, ISPASYNC_TARGET_MESSAGE, &msg);
} else {
@@ -614,7 +614,7 @@ isp_got_msg_fc(struct ispsoftc *isp, int bus, in_fcentry_t *inp)
MEMZERO(&msg, sizeof (msg));
msg.nt_bus = bus;
msg.nt_iid = inp->in_iid;
- msg.nt_tagval = inp->in_seqid;
+ IN_FC_MAKE_TAGID(msg.nt_tagval, 0, inp);
msg.nt_lun = lun;
if (inp->in_task_flags & TASK_FLAGS_ABORT_TASK_SET) {