net: jme.c rxdesc.flags is __le16, other missing endian swaps
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 19 Nov 2008 23:50:59 +0000 (15:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Nov 2008 23:50:59 +0000 (15:50 -0800)
commit31c221c49f92d17632e0d662eb62a27e8b425805
treeaa33c50007f415765655275b0be8c8ad751aff95
parent9d6ada9f4141fb8ab3c5d7dffe382f6a68b8e961
net: jme.c rxdesc.flags is __le16, other missing endian swaps

This is the minimal patch to fix endian mismatches.  These are
probably bugs on big-endian arches, noops on little endian.

jme_rxsum_ok could be improved to directly take a __le16 and
change all of the masks/sets to be in little-endian, but
has not been done here to keep the patch small.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jme.c