Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2015 21:40:27 +0000 (UTC)
From:      Andrew Gallatin <gallatin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284612 - head/sys/dev/ixl
Message-ID:  <201506192140.t5JLeRTY073906@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <eric.joyner@intel.com>
  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;



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