summaryrefslogtreecommitdiffstats
path: root/block/blk-timeout.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-02-25 14:25:00 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-26 23:16:36 -0800
commite4f341103e4a2b35f56a0f89802f1b1448e8d04b (patch)
tree8c5c2789c3ba29ecb62587e2a8016b02dedfe714 /block/blk-timeout.c
parentffbcfed441b9ba74ce77f215eed6925f6a0b82a3 (diff)
downloadkernel-crypto-e4f341103e4a2b35f56a0f89802f1b1448e8d04b.tar.gz
kernel-crypto-e4f341103e4a2b35f56a0f89802f1b1448e8d04b.tar.xz
kernel-crypto-e4f341103e4a2b35f56a0f89802f1b1448e8d04b.zip
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 <mcarlson@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-timeout.c')
0 files changed, 0 insertions, 0 deletions