From 9f242f78932d167b616a8839d632075aa9d6414e Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 31 Jul 2005 23:21:19 +0000 Subject: [PATCH] AT_MAKE_TAGID needs an instance as the 2nd arg- not just a 0. --- sys/dev/isp/isp_freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 4132b5a0d205..623ebf0f3c82 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -1497,7 +1497,7 @@ isp_handle_platform_atio(struct ispsoftc *isp, at_entry_t *aep) * Construct a tag 'id' based upon tag value (which may be 0..255) * and the handle (which we have to preserve). */ - AT_MAKE_TAGID(atiop->tag_id, 0, aep); + AT_MAKE_TAGID(atiop->tag_id, device_get_unit(isp->isp_dev), aep); if (aep->at_flags & AT_TQAE) { atiop->tag_action = aep->at_tag_type; atiop->ccb_h.status |= CAM_TAG_ACTION_VALID;