Author: mav
Date: Mon Apr 24 10:16:12 2017
New Revision: 317356
URL: https://svnweb.freebsd.org/changeset/base/317356

Log:
  Switch isp_reset to scratchpad not requiring ISP_MBOXDMASETUP.
  
  MFC after:    1 week

Modified:
  head/sys/dev/isp/isp.c

Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c      Mon Apr 24 08:44:51 2017        (r317355)
+++ head/sys/dev/isp/isp.c      Mon Apr 24 10:16:12 2017        (r317356)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to