svn commit: r196798 - head/sys/dev/ixgbe
Jack F Vogel
jfv at FreeBSD.org
Thu Sep 3 22:00:43 UTC 2009
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);
}
More information about the svn-src-head
mailing list