From owner-svn-src-head@FreeBSD.ORG Fri Jun 19 21:40:27 2015 Return-Path: Delivered-To: svn-src-head@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C8642FD; Fri, 19 Jun 2015 21:40:27 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) 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 2AB12670; Fri, 19 Jun 2015 21:40:27 +0000 (UTC) (envelope-from gallatin@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5JLeRMW073907; Fri, 19 Jun 2015 21:40:27 GMT (envelope-from gallatin@FreeBSD.org) Received: (from gallatin@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5JLeRTY073906; Fri, 19 Jun 2015 21:40:27 GMT (envelope-from gallatin@FreeBSD.org) Message-Id: <201506192140.t5JLeRTY073906@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: gallatin set sender to gallatin@FreeBSD.org using -f From: Andrew Gallatin Date: Fri, 19 Jun 2015 21:40:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284612 - head/sys/dev/ixl 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.20 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: Fri, 19 Jun 2015 21:40:27 -0000 Author: gallatin Date: Fri Jun 19 21:40:26 2015 New Revision: 284612 URL: https://svnweb.freebsd.org/changeset/base/284612 Log: Fix typo in baudrate initialization that was causing ixl to be seen as a 4GbE NIC, rather than a 40GbE NIC. Reviewed by: Eric Joyner MFC after: 3 days Sponsored by: Netflix Modified: head/sys/dev/ixl/if_ixl.c Modified: head/sys/dev/ixl/if_ixl.c ============================================================================== --- head/sys/dev/ixl/if_ixl.c Fri Jun 19 21:35:56 2015 (r284611) +++ head/sys/dev/ixl/if_ixl.c Fri Jun 19 21:40:26 2015 (r284612) @@ -2551,7 +2551,7 @@ ixl_setup_interface(device_t dev, struct } if_initname(ifp, device_get_name(dev), device_get_unit(dev)); ifp->if_mtu = ETHERMTU; - ifp->if_baudrate = 4000000000; // ?? + ifp->if_baudrate = IF_Gbps(40); ifp->if_init = ixl_init; ifp->if_softc = vsi; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;