If we have ISP_ROLE_INITIATOR set, make sure that we clear ICBOPT_INI_DISABLE

from the fwoptions. Likewise, we *set* ICBOPT_INI_DISABLE if we don't have
initiator role.
This commit is contained in:
mjacob 2004-01-23 23:23:31 +00:00
parent b8527c05c4
commit 939fc514b7

View File

@ -1221,6 +1221,12 @@ isp_fibre_init(struct ispsoftc *isp)
fcp->isp_fwoptions &= ~ICBOPT_TGT_ENABLE;
}
if (isp->isp_role & ISP_ROLE_INITIATOR) {
fcp->isp_fwoptions &= ~ICBOPT_INI_DISABLE;
} else {
fcp->isp_fwoptions |= ICBOPT_INI_DISABLE;
}
/*
* Propagate all of this into the ICB structure.
*/