From f7181386986eb773fabf8d0e7f993281f0693915 Mon Sep 17 00:00:00 2001 From: "Jayachandran C." Date: Thu, 16 Sep 2010 19:25:24 +0000 Subject: [PATCH] Update rge.h for r212758 - stats incremented using xlr_ldaddwu should be unsigned int. --- sys/mips/rmi/dev/xlr/rge.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sys/mips/rmi/dev/xlr/rge.h b/sys/mips/rmi/dev/xlr/rge.h index 98b5847c6d81..fa98a0d60767 100644 --- a/sys/mips/rmi/dev/xlr/rge.h +++ b/sys/mips/rmi/dev/xlr/rge.h @@ -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 {