summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2010-09-16 19:25:24 +0000
committerjchandra <jchandra@FreeBSD.org>2010-09-16 19:25:24 +0000
commit9ec9faa74565cd85da140c68d73c827afe182cc2 (patch)
tree17a40286e4d26d670ad246f23a606dbef6e6ffd0 /sys/mips
parent8780a2e4447219001c52c743902d4060d8c1eef5 (diff)
downloadFreeBSD-src-9ec9faa74565cd85da140c68d73c827afe182cc2.zip
FreeBSD-src-9ec9faa74565cd85da140c68d73c827afe182cc2.tar.gz
Update rge.h for r212758 - stats incremented using xlr_ldaddwu should be
unsigned int.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/rmi/dev/xlr/rge.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/mips/rmi/dev/xlr/rge.h b/sys/mips/rmi/dev/xlr/rge.h
index 98b5847..fa98a0d 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 {
OpenPOWER on IntegriCloud