net/macb: force endian_swp_pkt_en to off
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>
Wed, 27 Mar 2013 23:07:06 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Mar 2013 18:41:18 +0000 (14:41 -0400)
commita1ae385df210a9fe272b87683192f2789ddf144e
tree39bd5c50582fbb35215f395b726aa5ac68b4c3f0
parent749a2b66f49de322ae472d57e1451e5f623d82f1
net/macb: force endian_swp_pkt_en to off

The core has a bit for swapping packet data endianism.
Reset default from Cadence is off. Xilinx however, who uses this core on the
Zynq SoCs, opted for on.
Force it to off. This shouldn't change the behaviour for current users of the
macb, but enables usage on Zynq devices.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
drivers/net/ethernet/cadence/macb.h