Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3042133ybh; Mon, 5 Aug 2019 10:57:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwx3K9V90sGsRxfO2DO2SHTanmi9NSaJ1L0VMxwwO8zMRFxi+J9z7hQ8PaqSUZORLEpUm6q X-Received: by 2002:a65:64cf:: with SMTP id t15mr133544529pgv.88.1565027861879; Mon, 05 Aug 2019 10:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565027861; cv=none; d=google.com; s=arc-20160816; b=xz9CLetuT3emEXeec8krwWbrv18H8bNlTEMut0XyfVh0ip3/8A0e/94Mav+qxcrmuj OkHGOHKtE/SRfMw35IhWaOYQZ9jB8AoV0rqihJMeJrzv31un1jWY5O85V2squrTNXf4h sfRd1nc4KXECCdVnhCnYK34HfheFE3qXkXv4m8O3CpovpEhBXxyYexpxMqp/t8j4XhNk 4nlEuQcJ32yxIAkRbBN6QjjtcEEBSucLUxrUHpwywZklmle9zyeuAE2APU1vMos7HdGb wYoFqQkaX7/q86BT+IrlFt673S5pAcv3WlGMoSWPvDWZXrd/prBbg14VU0bGfTr1CIJ5 HlwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=W0wMQTvi+Zg0DCRY8GibQ3qXjimXnc52afcyyzPxWCk=; b=a3CR2n2PUM/xhN/p94e4UV/eMBQVKNbZYuOZ60BxhKm4WSqS8GOW0Ud+RGNk2eyvoH Y57fdC11mc42eoSyJyyMmoLeCCoHyx945XVSeESIfwPMPpOLs5XxO9wgu15JqnZlD9yY 9ER1NFhWenndqTooRJBaeRo4/w7C/7KcBWjSuuO5dCQmlYTwMQoc89Y+BrvLZGNTWu3G q6B5Q25BzcijZ+hF1vaBY7f95yfp1Dy0VMmoNhoLqj/EzXomCdPxsMHqF9KDrQoV309O 8xjpNwFFUZs04/4Zj4BSl/IF7NkWdz4QR7GUI6dEl6uCrHYAT4CrcZawOesbCXAq+y0S HY+A== ARC-Authentication-Results: i=1; mx.google.com; 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 t31si13162975pjb.25.2019.08.05.10.57.25; Mon, 05 Aug 2019 10:57:41 -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; 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 S1729838AbfHER4g (ORCPT + 99 others); Mon, 5 Aug 2019 13:56:36 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:59902 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726559AbfHER4f (ORCPT ); Mon, 5 Aug 2019 13:56:35 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 5D4841540A47B; Mon, 5 Aug 2019 10:56:35 -0700 (PDT) Date: Mon, 05 Aug 2019 10:56:35 -0700 (PDT) Message-Id: <20190805.105635.1627696816449985561.davem@davemloft.net> To: h.feurstein@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com Subject: Re: [PATCH net] net: dsa: mv88e6xxx: drop adjust_link to enabled phylink From: David Miller In-Reply-To: <20190731154239.19270-1-h.feurstein@gmail.com> References: <20190731154239.19270-1-h.feurstein@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 05 Aug 2019 10:56:35 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hubert Feurstein Date: Wed, 31 Jul 2019 17:42:39 +0200 > 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 Applied.