diff options
-rw-r--r-- | sys/dev/isp/isp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index 878b67c8..40dbf93 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -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. */ |