From owner-svn-src-all@FreeBSD.ORG Sat Aug 2 18:37:23 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 220B8B79; Sat, 2 Aug 2014 18:37:23 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA254203E; Sat, 2 Aug 2014 18:37:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s72IbMf7010817; Sat, 2 Aug 2014 18:37:22 GMT (envelope-from np@svn.freebsd.org) Received: (from np@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s72IbM5F010815; Sat, 2 Aug 2014 18:37:22 GMT (envelope-from np@svn.freebsd.org) Message-Id: <201408021837.s72IbM5F010815@svn.freebsd.org> From: Navdeep Parhar Date: Sat, 2 Aug 2014 18:37:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269440 - head/sys/dev/cxgbe/common X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2014 18:37:23 -0000 Author: np Date: Sat Aug 2 18:37:22 2014 New Revision: 269440 URL: http://svnweb.freebsd.org/changeset/base/269440 Log: cxgbe(4): Remove an unused version of t4_enable_vi. MFC after: 2 weeks Modified: head/sys/dev/cxgbe/common/common.h head/sys/dev/cxgbe/common/t4_hw.c Modified: head/sys/dev/cxgbe/common/common.h ============================================================================== --- head/sys/dev/cxgbe/common/common.h Sat Aug 2 18:37:08 2014 (r269439) +++ head/sys/dev/cxgbe/common/common.h Sat Aug 2 18:37:22 2014 (r269440) @@ -581,8 +581,6 @@ int t4_set_addr_hash(struct adapter *ada bool ucast, u64 vec, bool sleep_ok); int t4_enable_vi(struct adapter *adap, unsigned int mbox, unsigned int viid, bool rx_en, bool tx_en); -int t4_enable_vi_ns(struct adapter *adap, unsigned int mbox, unsigned int viid, - bool rx_en, bool tx_en); int t4_identify_port(struct adapter *adap, unsigned int mbox, unsigned int viid, unsigned int nblinks); int t4_mdio_rd(struct adapter *adap, unsigned int mbox, unsigned int phy_addr, Modified: head/sys/dev/cxgbe/common/t4_hw.c ============================================================================== --- head/sys/dev/cxgbe/common/t4_hw.c Sat Aug 2 18:37:08 2014 (r269439) +++ head/sys/dev/cxgbe/common/t4_hw.c Sat Aug 2 18:37:22 2014 (r269440) @@ -5206,19 +5206,6 @@ int t4_enable_vi(struct adapter *adap, u return t4_wr_mbox(adap, mbox, &c, sizeof(c), NULL); } -int t4_enable_vi_ns(struct adapter *adap, unsigned int mbox, unsigned int viid, - bool rx_en, bool tx_en) -{ - struct fw_vi_enable_cmd c; - - memset(&c, 0, sizeof(c)); - c.op_to_viid = htonl(V_FW_CMD_OP(FW_VI_ENABLE_CMD) | F_FW_CMD_REQUEST | - F_FW_CMD_EXEC | V_FW_VI_ENABLE_CMD_VIID(viid)); - c.ien_to_len16 = htonl(V_FW_VI_ENABLE_CMD_IEN(rx_en) | - V_FW_VI_ENABLE_CMD_EEN(tx_en) | FW_LEN16(c)); - return t4_wr_mbox_ns(adap, mbox, &c, sizeof(c), NULL); -} - /** * t4_identify_port - identify a VI's port by blinking its LED * @adap: the adapter