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:
parent
b8527c05c4
commit
939fc514b7
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user