gianfar: Make FCB access endian safe
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Fri, 13 Mar 2015 08:36:29 +0000 (10:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2015 23:56:47 +0000 (19:56 -0400)
commit26eb9374f83d129f26a417fc3cc9b480fb47e5e4
tree624e1021d24f5e5d7dbf221d9003fb1c78f58e14
parenta7312d5803759c29c7f341428858d353caabf793
gianfar: Make FCB access endian safe

Use conversion macros to correctly access the BE
fields of the Rx and Tx Frame Control Block on LE CPUs.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c
drivers/net/ethernet/freescale/gianfar.h