Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 22:00:42 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196798 - head/sys/dev/ixgbe
Message-ID:  <200909032200.n83M0gTK045771@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jfv
Date: Thu Sep  3 22:00:42 2009
New Revision: 196798
URL: http://svn.freebsd.org/changeset/base/196798

Log:
  Stupid cut and paste error on a stats struct member, thanks
  to Ryan at Small Tree for finding this one.

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Thu Sep  3 21:10:57 2009	(r196797)
+++ head/sys/dev/ixgbe/ixgbe.c	Thu Sep  3 22:00:42 2009	(r196798)
@@ -4507,7 +4507,7 @@ ixgbe_update_stats_counters(struct adapt
 		adapter->stats.lxoffrxc += IXGBE_READ_REG(hw, IXGBE_LXOFFRXC);
 		/* 82598 only has a counter in the high register */
 		adapter->stats.gorc += IXGBE_READ_REG(hw, IXGBE_GORCH);
-		adapter->stats.gorc += IXGBE_READ_REG(hw, IXGBE_GOTCH);
+		adapter->stats.gotc += IXGBE_READ_REG(hw, IXGBE_GOTCH);
 		adapter->stats.tor += IXGBE_READ_REG(hw, IXGBE_TORH);
 	}
 



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