Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2597206ybg; Thu, 24 Oct 2019 12:08:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEEmiZfOK5Cx25oGieEZzieXCN8w3z4sNBcFPeHWKm7impUS48waxxKv1vxSz7hJu8UbcE X-Received: by 2002:a17:906:7208:: with SMTP id m8mr3020937ejk.141.1571944087060; Thu, 24 Oct 2019 12:08:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571944087; cv=none; d=google.com; s=arc-20160816; b=Ql5JlowGdKWsLLWW4S993kdYQYycWU1BkgUUR51sHBaneH6QVLhadUn5zD8Ec0aSaK 7y/RGUnM3187pTFbgjrNtr1tVp96SNVCLId11REvXUnBQcy0cF4cc+wI6heGZnn6QkRP /vsd8aGhBKvrV8UMf/536nKVSvomXuvO4pY+oWdofY0PqaQQm40dspbPf7ees8cHYfgx BV0hVXXiFVAdgOoY1iBFTsmADKvl7vuYTJjChOSUn9V8lNzAaej4yjsBQlZCU6S2QlGF wy/CPuijND/e5J8v3xIQ/bntH/8TO+1r+U//PuXKtocPz4pNFXZ5R2ts6flC4n8Lqixj pfNA== 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=U0nOpakv19goc0JzeWIijx4iXx/j4OJYCB3oWWzZ5tQ=; b=lzmkLwNmk8beipeuWX9a6LFAx12J/ekzMONSJTnDvezHQv29sNIb55XqwA5KhlsA6w TMzlNi0XGsvYf/0YOi8BKlwwBeTQQ71yqseD46Q3hs5cigkH18cPWaOk7vpeua4tHO9J xb44Msx9FP3133TJZKIFvZZWr8wVAg61vDL2qwfubh0zZ9fwrdjp10U7oIfZY1DVEWaY UqDJRUSqRzca4WxTheMebalCRHFYx5SFgpzIaD+RjK6vb0pBkgtkMoDtnQVo4yvb7VxD HG8SsVKgdiIb4wQ9mFU6sE47hCzGXXWB7ECG/fQN6K3DuKDjiF3/oNTj7hkP6ZFhdKCX AANw== 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 i24si15542412ejh.35.2019.10.24.12.07.40; Thu, 24 Oct 2019 12:08:07 -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 S2392936AbfJXDnN (ORCPT + 99 others); Wed, 23 Oct 2019 23:43:13 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:41544 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390576AbfJXDnN (ORCPT ); Wed, 23 Oct 2019 23:43:13 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::b7e]) (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 6796C14B7A921; Wed, 23 Oct 2019 20:43:12 -0700 (PDT) Date: Wed, 23 Oct 2019 20:43:11 -0700 (PDT) Message-Id: <20191023.204311.1181447784152558295.davem@davemloft.net> To: rentao.bupt@gmail.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, olteanv@gmail.com, arun.parameswaran@broadcom.com, justinpopo6@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH net-next v10 0/3] net: phy: support 1000Base-X auto-negotiation for BCM54616S From: David Miller In-Reply-To: <20191022183108.14029-1-rentao.bupt@gmail.com> References: <20191022183108.14029-1-rentao.bupt@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.2 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]); Wed, 23 Oct 2019 20:43:12 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: rentao.bupt@gmail.com Date: Tue, 22 Oct 2019 11:31:05 -0700 > From: Tao Ren > > This patch series aims at supporting auto negotiation when BCM54616S is > running in 1000Base-X mode: without the patch series, BCM54616S PHY driver > would report incorrect link speed in 1000Base-X mode. > > Patch #1 (of 3) modifies assignment to OR when dealing with dev_flags in > phy_attach_direct function, so that dev_flags updated in BCM54616S PHY's > probe callback won't be lost. > > Patch #2 (of 3) adds several genphy_c37_* functions to support clause 37 > 1000Base-X auto-negotiation, and these functions are called in BCM54616S > PHY driver. > > Patch #3 (of 3) detects BCM54616S PHY's operation mode and calls according > genphy_c37_* functions to configure auto-negotiation and parse link > attributes (speed, duplex, and etc.) in 1000Base-X mode. Series applied to net-next, thank you.