summaryrefslogtreecommitdiffstats
path: root/drivers/net/sungem.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-12-18 07:59:57 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-12-20 01:43:47 +0100
commitb9fc7dc514566e9788c7f064bb08f8b6e2fe6f72 (patch)
treecbcb32e0aebd5e5b7e6c26c89e96b7247e87f0f7 /drivers/net/sungem.h
parentNET: mac80211: fix inappropriate memory freeing (diff)
downloadlinux-b9fc7dc514566e9788c7f064bb08f8b6e2fe6f72.tar.xz
linux-b9fc7dc514566e9788c7f064bb08f8b6e2fe6f72.zip
[TG3]: Endianness annotations.
Fixed misannotations, introduced a new helper - tg3_nvram_read_le(). It gets __le32 * instead of u32 * and puts there the value converted to little-endian. A lot of callers of tg3_nvram_read() were doing that; converted them to tg3_nvram_read_le(). At that point the driver is practically endian-clean; the only remaining place is an actual bug, AFAICS; will be dealt with in the next patch. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem.h')
0 files changed, 0 insertions, 0 deletions