net: macb: Add big endian CPU support
authorArun Chandran <achandran@mvista.com>
Wed, 18 Feb 2015 11:29:35 +0000 (16:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Feb 2015 20:51:31 +0000 (15:51 -0500)
This patch converts all __raw_readl and __raw_writel function calls
to their corresponding readl_relaxed and writel_relaxed variants.

It also tells the driver to set ahb_endian_swp_mgmt_en bit in dma_cfg
when the CPU is configured in big endian mode.

Signed-off-by: Arun Chandran <achandran@mvista.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found