diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2020-03-18 16:47:37 +0200 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-04-29 11:10:43 +0530 |
commit | 267c5146d3f170b32dbd175f3eab5629f18c5435 (patch) | |
tree | 131cd516e6aea31b29090ddc1d06888e7cde2908 /drivers/net/fsl-mc/mc.c | |
parent | 52e16ec6136424bc40727a9e43f23d718ae0c9db (diff) |
drivers: net: ldpaa: add DTS based probing support
When CONFIG_DM_ETH is enabled DPAA2 network interfaces will now probe
based on DTS nodes with the "fsl,qoriq-mc-dpmac" compatible.
In this case, transform the ldpaa_eth driver into a UCLASS_ETH driver
and reuse the _open()/_tx()/_stop() functions already inplemented.
For the moment, the ldpaa_eth driver will support both configurations:
with or without CONFIG_DM_ETH enabled. Any 'struct eth_device' occurrence
now has a matching 'struct udevice' made mutually exclusive based on the
state of CONFIG_DM_ETH.
Signed-off-by: Florin Laurentiu Chiculita <florinlaurentiu.chiculita@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/net/fsl-mc/mc.c')
0 files changed, 0 insertions, 0 deletions