Date: Tue, 24 May 2016 07:10:50 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r300577 - stable/10/sys/dev/isp Message-ID: <201605240710.u4O7Ao0w073418@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue May 24 07:10:50 2016 New Revision: 300577 URL: https://svnweb.freebsd.org/changeset/base/300577 Log: MFC r299691: Fix FCP_CMD LENGTH mask in ATIO7 IOCB. This caused "long IU length (16384) ignored" errors following by others. Modified: stable/10/sys/dev/isp/isp_target.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/isp/isp_target.c ============================================================================== --- stable/10/sys/dev/isp/isp_target.c Tue May 24 07:07:11 2016 (r300576) +++ stable/10/sys/dev/isp/isp_target.c Tue May 24 07:10:50 2016 (r300577) @@ -169,7 +169,7 @@ isp_target_notify(ispsoftc_t *isp, void * Check for and do something with commands whose * IULEN extends past a single queue entry. */ - len = at7iop->at_ta_len & 0xfffff; + len = at7iop->at_ta_len & 0x0fff; if (len > (QENTRY_LEN - 8)) { len -= (QENTRY_LEN - 8); isp_prt(isp, ISP_LOGINFO, "long IU length (%d) ignored", len);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605240710.u4O7Ao0w073418>