typhoon: endianness bug in tx/rx byte counters
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 21 Dec 2007 06:20:23 +0000 (06:20 +0000)
committerJeff Garzik <jeff@garzik.org>
Sun, 23 Dec 2007 03:53:05 +0000 (22:53 -0500)
commit73eac0640ebfb30fee99e06ee029444af0d7ae8d
treec1cfa0f0e45dfb5bd899f156f41237134ce78e71
parent5b825ed22b02691e39774e8b2a077d1807969ec7
typhoon: endianness bug in tx/rx byte counters

txBytes and rxBytesGood are both 64bit; using le32_to_cpu() won't work
on big-endian for obvious reasons.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/typhoon.c