svn commit: r367929 - head/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Sun Nov 22 05:42:53 UTC 2020
Author: mav
Date: Sun Nov 22 05:42:52 2020
New Revision: 367929
URL: https://svnweb.freebsd.org/changeset/base/367929
Log:
Fix build after 367926.
Option ISP_TARGET_MODE is evil.
Modified:
head/sys/dev/isp/isp.c
Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c Sun Nov 22 05:34:51 2020 (r367928)
+++ head/sys/dev/isp/isp.c Sun Nov 22 05:42:52 2020 (r367929)
@@ -742,6 +742,7 @@ isp_init(ispsoftc_t *isp)
if (!IS_26XX(isp))
icbp->icb_execthrottle = 0xffff;
+#ifdef ISP_TARGET_MODE
/*
* Set target exchange count. Take half if we are supporting both roles.
*/
@@ -751,7 +752,7 @@ isp_init(ispsoftc_t *isp)
else
icbp->icb_xchgcnt = isp->isp_maxcmds;
}
-
+#endif
ownloopid = (isp->isp_confopts & ISP_CFG_OWNLOOPID) != 0;
icbp->icb_hardaddr = fcp->isp_loopid;
More information about the svn-src-all
mailing list