svn commit: r212759 - head/sys/mips/rmi/dev/xlr

Jayachandran C. jchandra at FreeBSD.org
Thu Sep 16 19:25:25 UTC 2010


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 {


More information about the svn-src-all mailing list