From: Thomas Petazzoni Date: Mon, 29 Jul 2013 13:21:28 +0000 (+0200) Subject: net: mvneta: support big endian X-Git-Tag: v3.12-rc1~132^2~422 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ad8fef6c61a9dfcaa8444e526020de88c540fa9;p=pandora-kernel.git net: mvneta: support big endian Use the "swap descriptor" feature of the hardware to properly swap the descriptors when running in big endian mode. Since the swapping occurs on 64 bits words, we also need to provide a separate structure layout for the DMA descriptors between little endian and big endian mode, like is done in the mv643xx_eth driver. Signed-off-by: Thomas Petazzoni Signed-off-by: David S. Miller --- Reading git-diff-tree failed