net: macb: apply sane DMA configuration
authorRamon Fried <rfried.dev@gmail.com>
Tue, 16 Jul 2019 19:04:36 +0000 (22:04 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 25 Jul 2019 18:13:30 +0000 (13:13 -0500)
commit9c29580720cb4f0d4548278029f1467cf1df58b2
treec2805d573e399ac23df7c790e71c7bf9af9aa155
parented3c64f1acc958a7ee1a97f23acda13105f89443
net: macb: apply sane DMA configuration

DMA configuration was heavily dependent on the HW
defaults, add function to properly set the required
fields, including the new dma_burst_length.

Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Tested-by: Anup Patel <anup.patel@wdc.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c