]> git.karo-electronics.de Git - linux-beck.git/commit
gianfar: Make BDs access endian safe
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Fri, 13 Mar 2015 08:36:28 +0000 (10:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2015 23:56:46 +0000 (19:56 -0400)
commita7312d5803759c29c7f341428858d353caabf793
tree551d07db14df3d6f618b943285d3248d13397075
parent5a2f78dd51d9d71aa40cb752af88332f45c884b7
gianfar: Make BDs access endian safe

Use conversion macros to correctly access the BE
fields of the Rx and Tx Buffer Descriptors 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