summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2005-07-31 23:21:19 +0000
committermjacob <mjacob@FreeBSD.org>2005-07-31 23:21:19 +0000
commit0367ce1d05ca18de2900e89d3d860740e4755bbf (patch)
tree6a67b144b677157acc62cb28accbf7a4b6d5944f /sys/dev/isp/isp_freebsd.c
parent73219e5b19a3921283c01d0a941151aceb52b241 (diff)
downloadFreeBSD-src-0367ce1d05ca18de2900e89d3d860740e4755bbf.zip
FreeBSD-src-0367ce1d05ca18de2900e89d3d860740e4755bbf.tar.gz
AT_MAKE_TAGID needs an instance as the 2nd arg- not just a 0.
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r--sys/dev/isp/isp_freebsd.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud