net: configure DWMAC DMA by default AXI burst length
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 29 Jan 2015 05:37:31 +0000 (13:37 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 5 Mar 2015 16:17:53 +0000 (11:17 -0500)
commit2ddaf13bd28d9d9450831e84e30d617d2f49f1bd
treecfa3b345ceffe65c5859f5c32cd4c7e422383a28
parenta32ab4d910b86c83a6dee557eed68298b7e9b361
net: configure DWMAC DMA by default AXI burst length

Board can define its own AXI burst length to improve DWMAC DMA performance.

v2-changes:
- Avoid write burst len register when the Macro is not defined.

v3-changes:
- Add axi_bus register member to struct eth_dma_regs.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c
drivers/net/designware.h