net: macb: Add on the fly CPU endianness detection
authorArun Chandran <achandran@mvista.com>
Sun, 1 Mar 2015 06:08:02 +0000 (11:38 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 04:05:23 +0000 (23:05 -0500)
commit62f6924cb1543a10d05150d77f9a5e01e12c9ce1
treeebd3ecb7379f78e673eb207f6c26d5771836e7d9
parent759c9359ae5a6ecdb74cad61a31be6805fb09617
net: macb: Add on the fly CPU endianness detection

Program management descriptor's access mode according to the
dynamically detected CPU endianness.

Signed-off-by: Arun Chandran <achandran@mvista.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c