From 3e92f72cfa3ba60a42d4291f559fc93ec0038cbf Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Wed, 26 Nov 2014 15:03:21 +0000 Subject: [PATCH] Fix incorrect check, blocking MULTIID functionality. MFC after: 1 week --- sys/dev/isp/isp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index 8ac6bf2152f..46361b95e48 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -1219,7 +1219,7 @@ isp_reset(ispsoftc_t *isp, int do_load_defaults) * work for them). */ if (IS_FC(isp) && isp->isp_nchan > 1) { - if (!IS_24XX(isp) || (fwt & ISP2400_FW_ATTR_MULTIID) == 0) { + if (!ISP_CAP_MULTI_ID(isp)) { isp_prt(isp, ISP_LOGWARN, "non-MULTIID f/w loaded, only can enable 1 of %d channels", isp->isp_nchan); isp->isp_nchan = 1; }