Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2015 19:55:48 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289942 - head/sys/dev/isp
Message-ID:  <201510251955.t9PJtmpI070145@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Oct 25 19:55:48 2015
New Revision: 289942
URL: https://svnweb.freebsd.org/changeset/base/289942

Log:
  Deliver INOTs only to enabled virtual ports.

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

Modified: head/sys/dev/isp/isp_target.c
==============================================================================
--- head/sys/dev/isp/isp_target.c	Sun Oct 25 18:48:09 2015	(r289941)
+++ head/sys/dev/isp/isp_target.c	Sun Oct 25 19:55:48 2015	(r289942)
@@ -1889,6 +1889,8 @@ isp_handle_24xx_inotify(ispsoftc_t *isp,
 	}
 	isp_prt(isp, ISP_LOGTDEBUG1, "%s: Immediate Notify Channels %d..%d status=0x%x seqid=0x%x", __func__, lochan, hichan-1, inot_24xx->in_status, inot_24xx->in_rxid);
 	for (chan = lochan; chan < hichan; chan++) {
+		if (FCPARAM(isp, chan)->role == ISP_ROLE_NONE)
+			continue;
 		switch (inot_24xx->in_status) {
 		case IN24XX_LIP_RESET:
 		case IN24XX_LINK_RESET:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510251955.t9PJtmpI070145>