Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2017 06:04:34 +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-11@freebsd.org
Subject:   svn commit: r317635 - stable/11/sys/dev/isp
Message-ID:  <201705010604.v4164YKg089579@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon May  1 06:04:34 2017
New Revision: 317635
URL: https://svnweb.freebsd.org/changeset/base/317635

Log:
  MFC r317356: Switch isp_reset to scratchpad not requiring ISP_MBOXDMASETUP.

Modified:
  stable/11/sys/dev/isp/isp.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/isp/isp.c
==============================================================================
--- stable/11/sys/dev/isp/isp.c	Mon May  1 06:03:44 2017	(r317634)
+++ stable/11/sys/dev/isp/isp.c	Mon May  1 06:04:34 2017	(r317635)
@@ -1012,7 +1012,7 @@ isp_reset(ispsoftc_t *isp, int do_load_d
 
 	fwt = isp->isp_fwattr;
 	if (IS_24XX(isp)) {
-		buf = FCPARAM(isp, 0)->isp_scratch;
+		buf = FCPARAM(isp, 0)->isp_scanscratch;
 		ISP_SNPRINTF(buf, ISP_FC_SCRLEN, "Attributes:");
 		if (fwt & ISP2400_FW_ATTR_CLASS2) {
 			fwt ^=ISP2400_FW_ATTR_CLASS2;
@@ -1101,7 +1101,7 @@ isp_reset(ispsoftc_t *isp, int do_load_d
 		}
 		isp_prt(isp, ISP_LOGCONFIG, "%s", buf);
 	} else if (IS_FC(isp)) {
-		buf = FCPARAM(isp, 0)->isp_scratch;
+		buf = FCPARAM(isp, 0)->isp_scanscratch;
 		ISP_SNPRINTF(buf, ISP_FC_SCRLEN, "Attributes:");
 		if (fwt & ISP_FW_ATTR_TMODE) {
 			fwt ^=ISP_FW_ATTR_TMODE;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705010604.v4164YKg089579>