From owner-svn-src-stable@FreeBSD.ORG Mon Feb 13 19:41:31 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83D4D106564A; Mon, 13 Feb 2012 19:41:31 +0000 (UTC) (envelope-from np@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 726408FC16; Mon, 13 Feb 2012 19:41:31 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1DJfVG8058880; Mon, 13 Feb 2012 19:41:31 GMT (envelope-from np@svn.freebsd.org) Received: (from np@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1DJfVr5058878; Mon, 13 Feb 2012 19:41:31 GMT (envelope-from np@svn.freebsd.org) Message-Id: <201202131941.q1DJfVr5058878@svn.freebsd.org> From: Navdeep Parhar Date: Mon, 13 Feb 2012 19:41:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231608 - stable/8/sys/dev/cxgbe/common X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2012 19:41:31 -0000 Author: np Date: Mon Feb 13 19:41:31 2012 New Revision: 231608 URL: http://svn.freebsd.org/changeset/base/231608 Log: MFC r231592: Use the non-sleeping variang of t4_wr_mbox in code that can be called with locks held. Modified: stable/8/sys/dev/cxgbe/common/t4_hw.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/dev/cxgbe/common/t4_hw.c ============================================================================== --- stable/8/sys/dev/cxgbe/common/t4_hw.c Mon Feb 13 19:41:01 2012 (r231607) +++ stable/8/sys/dev/cxgbe/common/t4_hw.c Mon Feb 13 19:41:31 2012 (r231608) @@ -4314,7 +4314,7 @@ int t4_change_mac(struct adapter *adap, V_FW_VI_MAC_CMD_IDX(idx)); memcpy(p->macaddr, addr, sizeof(p->macaddr)); - ret = t4_wr_mbox(adap, mbox, &c, sizeof(c), &c); + ret = t4_wr_mbox_ns(adap, mbox, &c, sizeof(c), &c); if (ret == 0) { ret = G_FW_VI_MAC_CMD_IDX(ntohs(p->valid_to_idx)); if (ret >= FW_CLS_TCAM_NUM_ENTRIES)