diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-23 02:30:16 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:52:03 -0700 |
commit | b1eab70130fd60082cce11caba14fe8c99a018e9 (patch) | |
tree | c01041aea7832d32175f388ec205c7882ce66369 /drivers/net/r8169.c | |
parent | 88b1943bd3e4d2620e5936181861e00bf6236aa4 (diff) | |
download | op-kernel-dev-b1eab70130fd60082cce11caba14fe8c99a018e9.zip op-kernel-dev-b1eab70130fd60082cce11caba14fe8c99a018e9.tar.gz |
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.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index eecd811..419c00c 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -977,19 +977,19 @@ static const char rtl8169_gstrings[][ETH_GSTRING_LEN] = { }; struct rtl8169_counters { - u64 tx_packets; - u64 rx_packets; - u64 tx_errors; - u32 rx_errors; - u16 rx_missed; - u16 align_errors; - u32 tx_one_collision; - u32 tx_multi_collision; - u64 rx_unicast; - u64 rx_broadcast; - u32 rx_multicast; - u16 tx_aborted; - u16 tx_underun; + __le64 tx_packets; + __le64 rx_packets; + __le64 tx_errors; + __le32 rx_errors; + __le16 rx_missed; + __le16 align_errors; + __le32 tx_one_collision; + __le32 tx_multi_collision; + __le64 rx_unicast; + __le64 rx_broadcast; + __le32 rx_multicast; + __le16 tx_aborted; + __le16 tx_underun; }; static int rtl8169_get_sset_count(struct net_device *dev, int sset) |