From: Matt Carlson Date: Wed, 25 Feb 2009 14:25:00 +0000 (+0000) Subject: tg3: Invert nvram_read() and nvram_read_swab() X-Git-Tag: v2.6.30-rc1~662^2~503 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4f341103e4a2b35f56a0f89802f1b1448e8d04b;p=pandora-kernel.git tg3: Invert nvram_read() and nvram_read_swab() This patch removes the blind byteswap of NVRAM data as it is read in. To preserve the logic at the call sites, this patch also inverts every call to tg3_nvram_read() and tg3_nvram_read_swab(). The call swap gets confusing within tg3_nvram_read_le() (LE is a misnomer), but the reader should be able to convince himself / herself that the resulting behavior is still unchanged. Signed-off-by: Matt Carlson Signed-off-by: Benjamin Li Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed