aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2020-11-20 02:03:58 +0000
committerAlexander Motin <mav@FreeBSD.org>2020-11-20 02:03:58 +0000
commitdae0ba753c3305c31b769bca3408aab419b2d810 (patch)
treeadbbf6d167d995288e688ecc5d33c20c15b606d6 /sys/dev/isp
parent1b760be482c53871fa36c7d8877923f35dbbce4c (diff)
downloadsrc-dae0ba753c3305c31b769bca3408aab419b2d810.tar.gz
src-dae0ba753c3305c31b769bca3408aab419b2d810.zip
Fix r367857 build without ISP_TARGET_MODE.
Notes
Notes: svn path=/head/; revision=367858
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c
index a1f84341cd21..09e0721ae696 100644
--- a/sys/dev/isp/isp_pci.c
+++ b/sys/dev/isp/isp_pci.c
@@ -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)