From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B67B9C4361B for ; Wed, 9 Dec 2020 23:19:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 677FE22B51 for ; Wed, 9 Dec 2020 23:19:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388612AbgLIXTB (ORCPT ); Wed, 9 Dec 2020 18:19:01 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:47464 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728504AbgLIXTB (ORCPT ); Wed, 9 Dec 2020 18:19:01 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kn8iq-00B8MX-Mf; Thu, 10 Dec 2020 00:18:12 +0100 Date: Thu, 10 Dec 2020 00:18:12 +0100 From: Andrew Lunn To: Pavana Sharma Cc: ashkan.boldaji@digi.com, clang-built-linux@googlegroups.com, davem@davemloft.net, devicetree@vger.kernel.org, f.fainelli@gmail.com, gregkh@linuxfoundation.org, kbuild-all@lists.01.org, kuba@kernel.org, linux-kernel@vger.kernel.org, lkp@intel.com, marek.behun@nic.cz, netdev@vger.kernel.org, robh+dt@kernel.org, vivien.didelot@gmail.com Subject: Re: [PATCH v11 2/4] net: phy: Add 5GBASER interface mode Message-ID: <20201209231812.GG2649111@lunn.ch> References: <7d0e7609149c4e9c3295eff3323fdea92a4abc89.1607488953.git.pavana.sharma@digi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d0e7609149c4e9c3295eff3323fdea92a4abc89.1607488953.git.pavana.sharma@digi.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 09, 2020 at 03:04:23PM +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 56563e5e0dc7..8151e6ecf1b9 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, > PHY_INTERFACE_MODE_RXAUI, > PHY_INTERFACE_MODE_XAUI, For v10 i said: > 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. Please don't ignore comments. If you don't understand, please ask. If you think the comments are wrong, please explain why, so we can discuss it. Andrew