summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-10-05 08:35:48 +0000
committermav <mav@FreeBSD.org>2015-10-05 08:35:48 +0000
commit344c89f147e19b59af7455b8b31e55aa298815e4 (patch)
tree791ce5dec3504c31ac71c9208a35beaf0a1f1e98 /sys/dev/isp/isp_freebsd.c
parent66cf55baf8a34e47e934c4a1a9426e995d89626b (diff)
downloadFreeBSD-src-344c89f147e19b59af7455b8b31e55aa298815e4.zip
FreeBSD-src-344c89f147e19b59af7455b8b31e55aa298815e4.tar.gz
MFC r285600: MULTI_ID supported does not mean it is used.
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r--sys/dev/isp/isp_freebsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index 1aef6fb..1ff64e1 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -2533,7 +2533,7 @@ isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep)
* If we can't, we're somewhat in trouble because we can't actually respond w/o that information.
* We also, as a matter of course, need to know the WWN of the initiator too.
*/
- if (ISP_CAP_MULTI_ID(isp)) {
+ if (ISP_CAP_MULTI_ID(isp) && isp->isp_nchan > 1) {
/*
* Find the right channel based upon D_ID
*/
OpenPOWER on IntegriCloud