Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp1715565ybh; Sun, 4 Aug 2019 08:05:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJRIyOqVtJBUygid7i0Ol3lxEpsmZpv8uQiEjzojFZXgdnS1Kl2GtMS7miR9sBJhYwQ3lT X-Received: by 2002:a17:90a:d791:: with SMTP id z17mr13173099pju.40.1564931111041; Sun, 04 Aug 2019 08:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564931111; cv=none; d=google.com; s=arc-20160816; b=UZeCwYyod9S46Dr99508XtJ9vAwG4lWW2OLHFOGQHybeEeXT0lZHfOHOTaVlXbXtXv bz3yQZLfF5dQyY+uafKdGaO0+h4FUycyQhRz18jNDCQ91sMxRaCqYN0yhYpdsJjzdVIX 3DbLW1bnu4WAEgOV47Z4ySBPMJGjj+IkywQ6CGdMuepHLJu3aypmtBl5K2zuzVe318CR /4Bv2CJX6wZi/uszosK+Z8PUimrRTawmLCaSvp9oxWIHrOTvGJgij+EnW99MnGZ1JO4O /KbDQmLhjpVsNtyV9HbIrIy0wdVrQS01yrjX7EnRMgTlZFND4NwlIcNxExLgcNwZQ0jA R3jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9YmikpTEpr5D1kpfN5dBORPimRY5G5XZGxcVzG0I71E=; b=I2TTm8B+WErR7VpCudohmFA20u2sRTv3FAGilk/M6o5UUiUOKFTPOss2tZqNKh8a0D imT1oAtjyaR98ioQnqKlUT25M6STf8jyhOSZWf997m4203AIQH+migcFN6WlM1eZqlAp qzlpdCPcx+lp2aTg/UIcxlI///xbf3X5sJZ1SqjOAgeFYN4yLA3BpTpKcuwZRDSvnLmz /wQla9P8o+CIQ2b/UMEBpS2MGYgVuL7O5Loj82qs+P+fjPMWTwpGKn3jya4MrHJ/ijME hqp2eZ6+5nr8QBcCHhVft+Ummkd3SPLqI6naQ3TqrxCon0FoeAHVvlIVONkbfI2e2Zm1 qf+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=sspKmymJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si40335174pla.181.2019.08.04.08.04.54; Sun, 04 Aug 2019 08:05:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=sspKmymJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726392AbfHDPER (ORCPT + 99 others); Sun, 4 Aug 2019 11:04:17 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:59802 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726181AbfHDPER (ORCPT ); Sun, 4 Aug 2019 11:04:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=9YmikpTEpr5D1kpfN5dBORPimRY5G5XZGxcVzG0I71E=; b=sspKmymJGZKyjEHU4QnsfXYY76 Q2i1TaxOrrITR9iSoME1XCUXeqEjE4k83TV2x0Q9W/xoaFALuH5E+lwtSQRed+T7gFn6UY1kbbEuW gMxQPRzHSsppP3vmlVagR1MvTM0Ir/xR7ST7MwOY87thZjkW0XlRnSfBJDPY4+ej98TA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1huI3S-000248-Lh; Sun, 04 Aug 2019 17:04:14 +0200 Date: Sun, 4 Aug 2019 17:04:14 +0200 From: Andrew Lunn To: Hubert Feurstein Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vivien Didelot , Florian Fainelli , "David S. Miller" Subject: Re: [PATCH net] net: dsa: mv88e6xxx: drop adjust_link to enabled phylink Message-ID: <20190804150414.GC6800@lunn.ch> References: <20190731154239.19270-1-h.feurstein@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190731154239.19270-1-h.feurstein@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 31, 2019 at 05:42:39PM +0200, Hubert Feurstein wrote: > We have to drop the adjust_link callback in order to finally migrate to > phylink. > > Otherwise we get the following warning during startup: > "mv88e6xxx 2188000.ethernet-1:10: Using legacy PHYLIB callbacks. Please > migrate to PHYLINK!" > > The warning is generated in the function dsa_port_link_register_of in > dsa/port.c: > > int dsa_port_link_register_of(struct dsa_port *dp) > { > struct dsa_switch *ds = dp->ds; > > if (!ds->ops->adjust_link) > return dsa_port_phylink_register(dp); > > dev_warn(ds->dev, > "Using legacy PHYLIB callbacks. Please migrate to PHYLINK!\n"); > [...] > } > > Signed-off-by: Hubert Feurstein Reviewed-by: Andrew Lunn Andrew