AT_MAKE_TAGID needs an instance as the 2nd arg- not just a 0.

This commit is contained in:
Matt Jacob 2005-07-31 23:21:19 +00:00
parent ed8938e082
commit 9f242f7893
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148609

View File

@ -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;