[dpdk-dev] [PATCH] drivers/bus: fill driver reference after NXP probing
Shreyansh Jain
shreyansh.jain at nxp.com
Fri Sep 28 14:27:34 CEST 2018
On Thursday 27 September 2018 06:10 PM, Thomas Monjalon wrote:
> 26/09/2018 10:12, Shreyansh Jain:
>> 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---
>
> I guess we could remove the driver assignment in NXP drivers,
> after this patch applied.
>
Sent. I have kept fixes reference to your patch.
More information about the dev
mailing list