master/device.h
branchredundancy
changeset 2372 d895cd1db2bf
parent 2158 69f2b2702336
child 2450 c0cf0e6cff43
--- a/master/device.h	Mon Mar 19 09:56:36 2012 +0100
+++ b/master/device.h	Mon Mar 19 10:43:09 2012 +0100
@@ -109,18 +109,16 @@
     u64 last_rx_bytes; /**< Number of bytes received of last statistics cycle.
                         */
     u64 tx_errors; /**< Number of transmit errors. */
-    unsigned int tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in
-                                                  frames/s for different
-                                                  statistics cycle periods. */
-    unsigned int rx_frame_rates[EC_RATE_COUNT]; /**< Receive rates in
-                                                  frames/s for different
-                                                  statistics cycle periods. */
-    unsigned int tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s
-                                                 for different statistics
-                                                 cycle periods. */
-    unsigned int rx_byte_rates[EC_RATE_COUNT]; /**< Receive rates in byte/s
-                                                 for different statistics
-                                                 cycle periods. */
+    s32 tx_frame_rates[EC_RATE_COUNT]; /**< Transmit rates in frames/s for
+                                         different statistics cycle periods.
+                                        */
+    s32 rx_frame_rates[EC_RATE_COUNT]; /**< Receive rates in frames/s for
+                                         different statistics cycle periods.
+                                        */
+    s32 tx_byte_rates[EC_RATE_COUNT]; /**< Transmit rates in byte/s for
+                                        different statistics cycle periods. */
+    s32 rx_byte_rates[EC_RATE_COUNT]; /**< Receive rates in byte/s for
+                                        different statistics cycle periods. */
 
 #ifdef EC_DEBUG_IF
     ec_debug_t dbg; /**< debug device */