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:
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to