aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-08-23 02:30:16 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:52:03 -0400
commitb1eab70130fd60082cce11caba14fe8c99a018e9 (patch)
treec01041aea7832d32175f388ec205c7882ce66369 /drivers/net/r8169.c
parent88b1943bd3e4d2620e5936181861e00bf6236aa4 (diff)
r8169: endianness
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r--drivers/net/r8169.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index eecd811feead..419c00cbe6e9 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -977,19 +977,19 @@ static const char rtl8169_gstrings[][ETH_GSTRING_LEN] = {
977}; 977};
978 978
979struct rtl8169_counters { 979struct rtl8169_counters {
980 u64 tx_packets; 980 __le64 tx_packets;
981 u64 rx_packets; 981 __le64 rx_packets;
982 u64 tx_errors; 982 __le64 tx_errors;
983 u32 rx_errors; 983 __le32 rx_errors;
984 u16 rx_missed; 984 __le16 rx_missed;
985 u16 align_errors; 985 __le16 align_errors;
986 u32 tx_one_collision; 986 __le32 tx_one_collision;
987 u32 tx_multi_collision; 987 __le32 tx_multi_collision;
988 u64 rx_unicast; 988 __le64 rx_unicast;
989 u64 rx_broadcast; 989 __le64 rx_broadcast;
990 u32 rx_multicast; 990 __le32 rx_multicast;
991 u16 tx_aborted; 991 __le16 tx_aborted;
992 u16 tx_underun; 992 __le16 tx_underun;
993}; 993};
994 994
995static int rtl8169_get_sset_count(struct net_device *dev, int sset) 995static int rtl8169_get_sset_count(struct net_device *dev, int sset)