From owner-svn-src-all@freebsd.org Sat Jul 4 18:51:56 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0107D98DF; Sat, 4 Jul 2015 18:51:56 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E512E1949; Sat, 4 Jul 2015 18:51:55 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t64IptbT065428; Sat, 4 Jul 2015 18:51:55 GMT (envelope-from mav@FreeBSD.org) Received: (from mav@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t64IptS8065427; Sat, 4 Jul 2015 18:51:55 GMT (envelope-from mav@FreeBSD.org) Message-Id: <201507041851.t64IptS8065427@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mav set sender to mav@FreeBSD.org using -f From: Alexander Motin Date: Sat, 4 Jul 2015 18:51:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285147 - head/sys/dev/isp X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 18:51:56 -0000 Author: mav Date: Sat Jul 4 18:51:54 2015 New Revision: 285147 URL: https://svnweb.freebsd.org/changeset/base/285147 Log: Change comment added in r284540. This appeared to be not card's issue, but driver's, though solution is the same so far. Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c ============================================================================== --- head/sys/dev/isp/isp_freebsd.c Sat Jul 4 18:38:46 2015 (r285146) +++ head/sys/dev/isp/isp_freebsd.c Sat Jul 4 18:51:54 2015 (r285147) @@ -2965,9 +2965,9 @@ isp_handle_platform_ctio(ispsoftc_t *isp } if (atp == NULL) { /* - * In case of target mode disable at least ISP2532 return - * invalid zero ct_rxid value. Try to workaround that using - * tag_id from the CCB, pointed by valid ct_syshandle. + * XXX: isp_clear_commands() generates fake CTIO with zero + * ct_rxid value, filling only ct_syshandle. Workaround + * that using tag_id from the CCB, pointed by ct_syshandle. */ atp = isp_find_atpd(isp, tptr, ccb->csio.tag_id); }