]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit3921ee963912e7ec8ab86f3052b7d6fcb2e5b6ab
treec2805d573e399ac23df7c790e71c7bf9af9aa155
parent9da1b0d24b080714d89ca8279c4e92759fa07e16
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