OSDN Git Service

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)
commit060ad66f97954fa93ad495542c8a4f1b6c45aa34
treef70f67b4f3ab67ed43270f4859f8a957a78234ae
parent681e38380c79e6ed00232385a613b2216dc23d22
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