Author: np
Date: Sun Feb 10 19:20:03 2019
New Revision: 343968
URL: https://svnweb.freebsd.org/changeset/base/343968

Log:
  cxgbe(4): Ignore unused interrupts.
  
  Sponsored by: Chelsio Communications

Modified:
  head/sys/dev/cxgbe/common/t4_hw.c

Modified: head/sys/dev/cxgbe/common/t4_hw.c
==============================================================================
--- head/sys/dev/cxgbe/common/t4_hw.c   Sun Feb 10 19:07:47 2019        
(r343967)
+++ head/sys/dev/cxgbe/common/t4_hw.c   Sun Feb 10 19:20:03 2019        
(r343968)
@@ -5306,6 +5306,7 @@ void t4_intr_enable(struct adapter *adap)
            F_EGRESS_SIZE_ERR;
        t4_set_reg_field(adap, A_SGE_INT_ENABLE3, val, val);
        t4_write_reg(adap, MYPF_REG(A_PL_PF_INT_ENABLE), PF_INTR_MASK);
+       t4_set_reg_field(adap, A_PL_INT_ENABLE, F_SF | F_I2CM, 0);
        t4_set_reg_field(adap, A_PL_INT_MAP0, 0, 1 << adap->pf);
 }
 
_______________________________________________
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