Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp891200pxb; Thu, 19 Nov 2020 17:00:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyo5CE3Jl3vIvlUoSasJ/N2CyOnm7iaBagzIdLQT58ithgKvuA7nX8Qslc6uGPDHvhbq/1d X-Received: by 2002:a17:906:5a97:: with SMTP id l23mr29857342ejq.232.1605834047867; Thu, 19 Nov 2020 17:00:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605834047; cv=none; d=google.com; s=arc-20160816; b=cTvE7X6M8yF2QdBKYozVY+jYLDnDPSSt09HZaE/YVIDHzysBu4+c00MsKSrtOsPInB TEG1goPn2LpzHYA7OCkpvsNGslHuKlRzxMA9zzSzDWgms+Cp3KXOGX0SZBaKOsP5QK4C QGxIQI50lMsgtXEPCri8R+i5Np6fFsn4pZranw5P7mUdmGe03QBh1ffvEAXSbpgHMYoC mR2b4ckvg66+CvxvuMCB+gW05olkFTLVEEUyw8q77sLUD3nXVuSPfHcZlDBf4PiLl65f DeIjGTzXNOB9YM1/BpSzYfHmHBGo2ZBk8ckq4gn8WQX2hlX6qNeEUsSmaoF5XMzjjdHt atsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/EAmigTGLjmYRG707nn5ARTdnaIf5rtIfN5MHC+2tbk=; b=T4gkTbr8y2oe9281S7TbtO194NDfT+/MIXC9YTNeetad7BRDQvf9v8+lsDbBAe/Euj 4GGRFc2Ub+m9znxC0dVpUP6xu2aDq/Tqr1Z5vOAPaStWS0CVuPRh83WPrs0aUx09uM0K V3Pnf8GBwT0xP1Xyb91YUW8wqkgmf0NXG7byDaxgE7PKVN9U1PAgpl1y/qwaMwpJqlOp 7J5yAvrVPSgDBkYen2BlFfX/2m4spfKMNJyhu05pVJKIlIIccnGnZ6oN50vO7XDL3n65 yv0emx0+LWX18HV93A+rMQJoWWu1z8tp6Qb6g+F0OIkSD5ptlGYgzdq9HIlr5eimENII tt2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr1si840857ejc.373.2020.11.19.17.00.23; Thu, 19 Nov 2020 17:00:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726544AbgKTAzt (ORCPT + 99 others); Thu, 19 Nov 2020 19:55:49 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:40184 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbgKTAzt (ORCPT ); Thu, 19 Nov 2020 19:55:49 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kfuiA-0082O4-8i; Fri, 20 Nov 2020 01:55:38 +0100 Date: Fri, 20 Nov 2020 01:55:38 +0100 From: Andrew Lunn To: Pavana Sharma Cc: lkp@intel.com, ashkan.boldaji@digi.com, clang-built-linux@googlegroups.com, davem@davemloft.net, f.fainelli@gmail.com, gregkh@linuxfoundation.org, kbuild-all@lists.01.org, kuba@kernel.org, linux-kernel@vger.kernel.org, marek.behun@nic.cz, netdev@vger.kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, vivien.didelot@gmail.com Subject: Re: [PATCH v10 2/4] net: phy: Add 5GBASER interface mode Message-ID: <20201120005538.GY1804098@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 20, 2020 at 10:25:33AM +1000, Pavana Sharma wrote: > Add 5GBASE-R phy interface mode > > Signed-off-by: Pavana Sharma > --- > include/linux/phy.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/linux/phy.h b/include/linux/phy.h > index eb3cb1a98b45..71e280059ec5 100644 > --- a/include/linux/phy.h > +++ b/include/linux/phy.h > @@ -106,6 +106,7 @@ extern const int phy_10gbit_features_array[1]; > * @PHY_INTERFACE_MODE_TRGMII: Turbo RGMII > * @PHY_INTERFACE_MODE_1000BASEX: 1000 BaseX > * @PHY_INTERFACE_MODE_2500BASEX: 2500 BaseX > + * @PHY_INTERFACE_MODE_5GBASER: 5G BaseR > * @PHY_INTERFACE_MODE_RXAUI: Reduced XAUI > * @PHY_INTERFACE_MODE_XAUI: 10 Gigabit Attachment Unit Interface > * @PHY_INTERFACE_MODE_10GBASER: 10G BaseR > @@ -137,6 +138,8 @@ typedef enum { > PHY_INTERFACE_MODE_TRGMII, > PHY_INTERFACE_MODE_1000BASEX, > PHY_INTERFACE_MODE_2500BASEX, > + /* 5GBASE-R mode */ > + PHY_INTERFACE_MODE_5GBASER, Again, what is the value of the comment? 10GBASE-R has a comment because it is different from the rest, XFI and SFI caused a of discussion, and it was used wrong. But there does not seem to be anything special for 5GBASE-R. Andrew