[dpdk-dev] [PATCH] drivers/bus: fill driver reference after NXP probing

Shreyansh Jain shreyansh.jain at nxp.com
Wed Sep 26 10:12:37 CEST 2018


On Wednesday 26 September 2018 12:52 AM, Thomas Monjalon wrote:
> The probing functions of NXP buses were missing to set
> the driver used for successfully probing a device.
> 
> The NXP driver and the generic rte_driver are now set
> in the device structures.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---

A part of this was already being done in the drv->probe(), though it was 
  not complete (dpaa2_dev->driver = dpaa2_drv; was not being done).

--->8---net/dpaa2/dpaa2_ethdev.c--
2008
2009         eth_dev->device = &dpaa2_dev->device;
2010         eth_dev->device->driver = &dpaa2_drv->driver;
2011
--->8---

Thank you!

Acked-by: Shreyansh Jain <shreyansh.jain at nxp.com>


More information about the dev mailing list