Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 2020 02:03:58 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367858 - head/sys/dev/isp
Message-ID:  <202011200203.0AK23wPe038406@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Nov 20 02:03:58 2020
New Revision: 367858
URL: https://svnweb.freebsd.org/changeset/base/367858

Log:
  Fix r367857 build without ISP_TARGET_MODE.

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

Modified: head/sys/dev/isp/isp_pci.c
==============================================================================
--- head/sys/dev/isp/isp_pci.c	Fri Nov 20 01:15:48 2020	(r367857)
+++ head/sys/dev/isp/isp_pci.c	Fri Nov 20 02:03:58 2020	(r367858)
@@ -893,7 +893,9 @@ isp_pci_mbxdma(ispsoftc_t *isp)
 	int i, error, cmap = 0;
 	bus_size_t slim;	/* segment size */
 	struct imush im;
+#ifdef	ISP_TARGET_MODE
 	isp_ecmd_t *ecmd;
+#endif
 
 	/* Already been here? If so, leave... */
 	if (isp->isp_xflist != NULL)



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