From 0367ce1d05ca18de2900e89d3d860740e4755bbf Mon Sep 17 00:00:00 2001 From: mjacob Date: Sun, 31 Jul 2005 23:21:19 +0000 Subject: 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(-) (limited to 'sys/dev/isp/isp_freebsd.c') diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 4132b5a..623ebf0 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; -- cgit v1.1