From 182d1c037efb3f07f9a6806d45e86f852e78f9db Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 23 Jan 2005 06:28:08 +0000 Subject: Macroize the making of tag ids. MFC after: 2 weeks --- sys/dev/isp/isp_target.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c index 1d4dc6bd86e5..1d4b397bbad5 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) { -- cgit v1.3