Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2010 19:25:25 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212759 - head/sys/mips/rmi/dev/xlr
Message-ID:  <201009161925.o8GJPPcB004535@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jchandra
Date: Thu Sep 16 19:25:24 2010
New Revision: 212759
URL: http://svn.freebsd.org/changeset/base/212759

Log:
  Update rge.h for r212758 - stats incremented using xlr_ldaddwu should be
  unsigned int.

Modified:
  head/sys/mips/rmi/dev/xlr/rge.h

Modified: head/sys/mips/rmi/dev/xlr/rge.h
==============================================================================
--- head/sys/mips/rmi/dev/xlr/rge.h	Thu Sep 16 19:13:55 2010	(r212758)
+++ head/sys/mips/rmi/dev/xlr/rge.h	Thu Sep 16 19:25:24 2010	(r212759)
@@ -26,6 +26,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
+ * $FreeBSD$
  * RMI_BSD */
 #ifndef _RMI_RGE_H_
 #define _RMI_RGE_H_
@@ -972,12 +973,12 @@ enum {
 };
 
 struct rge_softc_stats {
-	unsigned long rx_frames;
-	unsigned long tx_frames;
-	unsigned long rx_packets;
-	unsigned long rx_bytes;
-	unsigned long tx_packets;
-	unsigned long tx_bytes;
+	unsigned int rx_frames;
+	unsigned int tx_frames;
+	unsigned int rx_packets;
+	unsigned int rx_bytes;
+	unsigned int tx_packets;
+	unsigned int tx_bytes;
 };
 
 struct driver_data {



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