svn commit: r367858 - head/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Fri Nov 20 02:03:58 UTC 2020


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)


More information about the svn-src-all mailing list