summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2017-05-01 06:04:34 +0000
committermav <mav@FreeBSD.org>2017-05-01 06:04:34 +0000
commitebdc0abc89aed8dee01bd57e38e078ae868d5f33 (patch)
tree07cbfffcc1a4159b1f5bbb58c5671cc5a157fdd5
parenta94f79fae55276f08e1d17550c5c518aee500604 (diff)
downloadFreeBSD-src-ebdc0abc89aed8dee01bd57e38e078ae868d5f33.zip
FreeBSD-src-ebdc0abc89aed8dee01bd57e38e078ae868d5f33.tar.gz
MFC r317356: Switch isp_reset to scratchpad not requiring ISP_MBOXDMASETUP.
-rw-r--r--sys/dev/isp/isp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c
index f46656b..8806103 100644
--- a/sys/dev/isp/isp.c
+++ b/sys/dev/isp/isp.c
@@ -1012,7 +1012,7 @@ isp_reset(ispsoftc_t *isp, int do_load_defaults)
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_defaults)
}
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;
OpenPOWER on IntegriCloud