]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: change DMA device
authorMadalin Bucur <madalin.bucur@nxp.com>
Wed, 23 Oct 2019 09:08:44 +0000 (12:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Oct 2019 22:21:58 +0000 (15:21 -0700)
commit1c5c0e04f3f618eb8e1f403a0e785a157250c718
treef70f67b4f3ab67ed43270f4859f8a957a78234ae
parent34cff93a76d59ec5904815ff6f005223940043c3
dpaa_eth: change DMA device

The DPAA Ethernet driver is using the FMan MAC as the device for DMA
mapping. This is not actually correct, as the real DMA device is the
FMan port (the FMan Rx port for reception and the FMan Tx port for
transmission). Changing the device used for DMA mapping to the Fman
Rx and Tx port devices.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/freescale/dpaa/dpaa_eth.h