From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] drivers/bus: fill driver reference after NXP probing Date: Thu, 27 Sep 2018 14:40:32 +0200 Message-ID: <2039580.JQpZYNxiQt@xps> References: <20180925192259.12249-1-thomas@monjalon.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, hemant.agrawal@nxp.com To: Shreyansh Jain Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 0A39F1B465 for ; Thu, 27 Sep 2018 14:40:36 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > --- > > 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. > Thank you! > > Acked-by: Shreyansh Jain Applied