From: Al Viro Date: Tue, 18 Dec 2007 06:59:57 +0000 (-0800) Subject: [TG3]: Endianness annotations. X-Git-Tag: v2.6.24-rc7~54^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9fc7dc514566e9788c7f064bb08f8b6e2fe6f72;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed