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

Alexander Motin mav at FreeBSD.org
Wed Nov 26 15:03:22 UTC 2014


Author: mav
Date: Wed Nov 26 15:03:21 2014
New Revision: 275123
URL: https://svnweb.freebsd.org/changeset/base/275123

Log:
  Fix incorrect check, blocking MULTIID functionality.
  
  MFC after:	1 week

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

Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c	Wed Nov 26 14:36:04 2014	(r275122)
+++ head/sys/dev/isp/isp.c	Wed Nov 26 15:03:21 2014	(r275123)
@@ -1219,7 +1219,7 @@ isp_reset(ispsoftc_t *isp, int do_load_d
 	 * 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;
 		}


More information about the svn-src-head mailing list