Date: Sun, 22 Nov 2020 05:42:53 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367929 - head/sys/dev/isp Message-ID: <202011220542.0AM5groZ077734@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011220542.0AM5groZ077734>