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; _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"