From owner-svn-src-head@FreeBSD.ORG Thu Oct 18 09:59:51 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E35A3EC; Thu, 18 Oct 2012 09:59:51 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 13BB48FC18; Thu, 18 Oct 2012 09:59:51 +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 q9I9xokQ008362; Thu, 18 Oct 2012 09:59:50 GMT (envelope-from glebius@svn.freebsd.org) Received: (from glebius@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9I9xofO008360; Thu, 18 Oct 2012 09:59:50 GMT (envelope-from glebius@svn.freebsd.org) Message-Id: <201210180959.q9I9xofO008360@svn.freebsd.org> From: Gleb Smirnoff Date: Thu, 18 Oct 2012 09:59:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241678 - head/sys/dev/bxe X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 09:59:51 -0000 Author: glebius Date: Thu Oct 18 09:59:50 2012 New Revision: 241678 URL: http://svn.freebsd.org/changeset/base/241678 Log: Utilize new macro to initialize if_baudrate. Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c ============================================================================== --- head/sys/dev/bxe/if_bxe.c Thu Oct 18 09:57:56 2012 (r241677) +++ head/sys/dev/bxe/if_bxe.c Thu Oct 18 09:59:50 2012 (r241678) @@ -2140,7 +2140,7 @@ bxe_attach(device_t dev) ifp->if_capabilities = BXE_IF_CAPABILITIES; /* TPA not enabled by default. */ ifp->if_capenable = BXE_IF_CAPABILITIES & ~IFCAP_LRO; - ifp->if_baudrate = IF_Gbps(10UL); + if_initbaudrate(ifp, IF_Gbps(10)); ifp->if_snd.ifq_drv_maxlen = sc->tx_ring_size;