Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2964000imm; Mon, 28 May 2018 21:06:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqm1wCifIe7Ucfc2c3KaqsjcuVCLIPocECpy/5JscPfBPrQyNPOU7PLu8OpFxsoAz4vGMlP X-Received: by 2002:a17:902:b189:: with SMTP id s9-v6mr16084122plr.352.1527566766692; Mon, 28 May 2018 21:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527566766; cv=none; d=google.com; s=arc-20160816; b=WYVN1AH8Edr4wiQkirV/K0M81f1ikZlOwGrDl9ZuTpREQTiXelg4tUGKvW0RAwd9Ja YbyfI3x+jvB8OrOkY3O/VMZJlLkUZLKNoVKXTRPuFZWQSjMeKtojWmd12lQffG2J7mZ8 xwwrCMwXH8wHhRb7zBb4hsGds/uQTrWXBceWsW130IRkORjE2CZxP83UCnWph7/grLwv f5E303M4ipfnnEp8hBLD1IH7/Hdsz/mtmlD3FNFLl/sfdVLtgj2nQIy5io755s6C1R+7 HUmBIL5QOKDx4v1H4+6oh96ure2vT5ceKh2IjNp+WSRUVsWtxd5w5GI0ZHSvRV8IAkjV bwVQ== 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 :arc-authentication-results; bh=a+dn7BkZAY5Kkuwvrh+rZB9tfUI6aWbaM4zg6+0n8b0=; b=Bl3/Zc7OryQWW11Q5RusA4vd3jc+AaXqetE8b009nRPclZDL5XQi25IundcwtenRhP IWxeRZZttvmPrWrcpShiI2Xs1dWomMGZg6y5mwZKJlC4+Sf7B+5y/q5aqDEjwwzRVTIN RWavWWfhAvgLmd93NnJE8g5SHq0pZGrbwwrGqb9/c6BLS/Ron1P/IwnOj+q+YLc1dSvV xyMIkTQ6/wEToGM1V+Mo/iXgTE50QZXM4slncHEaIqddyzTwFBCfIFTo8FCDtLNsAIXD vrg9fXpBEx35Xm42qAV9wJV3qJfMTaO3c4m5gkif6upp+mVRe3G2Mud9zyTFo3f9k1yS 9Duw== 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 r5-v6si31596379pls.227.2018.05.28.21.05.52; Mon, 28 May 2018 21:06:06 -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 S1161232AbeE2DGG (ORCPT + 99 others); Mon, 28 May 2018 23:06:06 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:49028 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161186AbeE2DGD (ORCPT ); Mon, 28 May 2018 23:06:03 -0400 Received: from localhost (pool-173-77-163-54.nycmny.fios.verizon.net [173.77.163.54]) (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 4CBB714694795; Mon, 28 May 2018 20:06:01 -0700 (PDT) Date: Mon, 28 May 2018 23:06:00 -0400 (EDT) Message-Id: <20180528.230600.1937722626242005505.davem@davemloft.net> To: yangbo.lu@nxp.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, richardcochran@gmail.com, claudiu.manoil@nxp.com, robh+dt@kernel.org Subject: Re: [PATCH 3/5] net: ethernet: gianfar_ethtool: get phc index through drvdata From: David Miller In-Reply-To: <20180525044038.37756-3-yangbo.lu@nxp.com> References: <20180525044038.37756-1-yangbo.lu@nxp.com> <20180525044038.37756-3-yangbo.lu@nxp.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) 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, 28 May 2018 20:06:02 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yangbo Lu Date: Fri, 25 May 2018 12:40:36 +0800 > Global variable gfar_phc_index was used to get and store > phc index through gianfar_ptp driver. However gianfar_ptp > had been renamed as ptp_qoriq for QorIQ common PTP driver. > This gfar_phc_index doesn't work any more, and the phc index > is stored in drvdata now. This patch is to support getting > phc index through ptp_qoriq drvdata. > > Signed-off-by: Yangbo Lu Applied.