AT_MAKE_TAGID needs an instance as the 2nd arg- not just a 0.
This commit is contained in:
parent
ed8938e082
commit
9f242f7893
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148609
@ -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)
|
* Construct a tag 'id' based upon tag value (which may be 0..255)
|
||||||
* and the handle (which we have to preserve).
|
* 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) {
|
if (aep->at_flags & AT_TQAE) {
|
||||||
atiop->tag_action = aep->at_tag_type;
|
atiop->tag_action = aep->at_tag_type;
|
||||||
atiop->ccb_h.status |= CAM_TAG_ACTION_VALID;
|
atiop->ccb_h.status |= CAM_TAG_ACTION_VALID;
|
||||||
|
Loading…
Reference in New Issue
Block a user