net: gianfar: Extend statistics counters to 64-bit
[sfrench/cifs-2.6.git] / drivers / net / ethernet / freescale / gianfar.h
index 5ea47df93e5e0aec2f776b43b8f4d1cdddd097c5..d8ae5353e8812080af576305e493e4972be2963b 100644 (file)
@@ -913,8 +913,8 @@ enum {
  * Per TX queue stats
  */
 struct tx_q_stats {
-       unsigned long tx_packets;
-       unsigned long tx_bytes;
+       u64 tx_packets;
+       u64 tx_bytes;
 };
 
 /**
@@ -963,9 +963,9 @@ struct gfar_priv_tx_q {
  * Per RX queue stats
  */
 struct rx_q_stats {
-       unsigned long rx_packets;
-       unsigned long rx_bytes;
-       unsigned long rx_dropped;
+       u64 rx_packets;
+       u64 rx_bytes;
+       u64 rx_dropped;
 };
 
 struct gfar_rx_buff {