Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 19:20:03 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343968 - head/sys/dev/cxgbe/common
Message-ID:  <201902101920.x1AJK3Yg087508@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



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