tg3: Correct NVRAM stream endian notations
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 25 Feb 2009 14:25:30 +0000 (14:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2009 07:16:36 +0000 (23:16 -0800)
commita9dc529dcd5c541c51cb2ba09bff99580361c576
tree3933849baa62bb04d65a974ee01e68546fbfd33d
parente4f341103e4a2b35f56a0f89802f1b1448e8d04b
tg3: Correct NVRAM stream endian notations

Any software requesting NVRAM data as it exists on NVRAM is necessarily
requesting that the results be returned as a bytestream.  A bytestream
data read in from the device can also be thought to be in big endian
format.  Therefore, all the LE notations in the driver are mislabeled.
This patch converts all LE notations to BE notations, carefully
evaluating the surrounding code in the process.

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>
drivers/net/tg3.c