diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2004-01-23 23:23:31 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2004-01-23 23:23:31 +0000 |
| commit | e23df011da68c15813e3c0f05b2357f7de23fde7 (patch) | |
| tree | 3d5d8b8a92ae6a35b6c3a3e7f34ef8d33b66b7d9 | |
| parent | 520b6299acc0cf8bb32bc8d6503e6afe129fdfa4 (diff) | |
Notes
| -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 878b67c8d24f..40dbf931602b 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. */ |
