]> 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)
commit4db8f490935c391bbea09d83435c223fdd56776c
treef70f67b4f3ab67ed43270f4859f8a957a78234ae
parentaff537d9cdd2f5096d3b597d8295c2f7191808d3
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