From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corentin Labbe Subject: Re: [PATCH net-next] net: stmmac: Populate missing callbacks in HWIF initialization Date: Fri, 18 May 2018 16:25:36 +0200 Message-ID: <20180518142536.GB11284@Red> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, "David S. Miller" , Joao Pinto , Giuseppe Cavallaro , Alexandre Torgue To: Jose Abreu Return-path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:56103 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbeEROZj (ORCPT ); Fri, 18 May 2018 10:25:39 -0400 Received: by mail-wm0-f66.google.com with SMTP id a8-v6so14419928wmg.5 for ; Fri, 18 May 2018 07:25:38 -0700 (PDT) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, May 17, 2018 at 10:57:28AM +0100, Jose Abreu wrote: > Some HW specific setusp, like sun8i, do not populate all the necessary > callbacks, which is what HWIF helpers were expecting. > > Fix this by always trying to get the generic helpers and populate them > if they were not previously populated by HW specific setup. > > Signed-off-by: Jose Abreu > Fixes: 5f0456b43140 ("net: stmmac: Implement logic to automatically > select HW Interface") > Reported-by: Corentin Labbe > Cc: Corentin Labbe > Cc: David S. Miller > Cc: Joao Pinto > Cc: Giuseppe Cavallaro > Cc: Alexandre Torgue > --- > Hi Corentin, > > Please check if this patch makes sun8i work again. > > Thanks and Best Regards, > Jose Miguel Abreu > --- Hello Tested-by: Corentin Labbe Thanks for the quick fix. Note that this patch conflict with your next v3 serie Regards