Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5885149rwd; Wed, 24 May 2023 08:03:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BCWHiLq1MegfeCOLEE6Ca4bW88nuMA9T5Mp1hlhqkWZZUFNItn6M+DgYpvMO3FaGRRfYu X-Received: by 2002:a05:6a20:728b:b0:10b:7fa4:b373 with SMTP id o11-20020a056a20728b00b0010b7fa4b373mr12328036pzk.44.1684940604766; Wed, 24 May 2023 08:03:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684940604; cv=none; d=google.com; s=arc-20160816; b=AAV1pHynYTa0i5RWJYgjQjI0rdi5Y8l1GKoBN+wfJpWHwdTIdBiHJW6GFeIfGPKZkC 4KOXrLQS2vTkLInU6qvcqDy0+aFDc46ielD894oFFrHYofUieQSSvpPxKppDQlchU1dc en+tBqFuemEIYNU0Ls2R+pbLIa4ekjLCY+FP4hjTPOqU8dQT+m8uSJ6KhgAeflCIBQZA yQq/AvjNj9erCm7MBj/kPAh6Sj13235MZcsK49keEHwudz0vSl7axgI7ZdNRx182LHAu 67xBECEbGmG1RL2N0zoXqj7ewWquHNqLCPXsEr4oYkzPn98aJ8AzoLshru7+yGY/WSHM ak9w== 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:dkim-signature; bh=FyedHscGEFlAyTcL2YX1NQlnWA/wiw8R69Wx/wJ/hdc=; b=OdvHUkgvvSSA1TRvyMQ2dzU+79y2Pd6tlJtxcTO8LfDYHUMMPAUzd2RvB62+uc1ut8 /h/26hKeHe6MWoE7vT37APbQk98V3tlyY+JiLqH+3cJF356XyeOfTEiYpIThGD3fH7hQ aJ3dVSr1Z/913g0xRsneXIeT7aCdAkdn9MzO/NFvi19PuwIxrgIKTODk7Ur7QUTNh4RX BLOGL95kt/S6RrAjprFiCanUzHBR2aO6ZvjTzOE99bR4I1rWwtpY6jKi5BpICiQfsb18 69xdIvF7Ln1q7ZcRbas6xVZub20WUct8a/evap2TAw4nQJVxXNJ6Q1kpJ4smpeKSS0CX iHrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=RV82gdRn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a63e444000000b005347ac15c20si3944597pgk.437.2023.05.24.08.03.11; Wed, 24 May 2023 08:03:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=RV82gdRn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234532AbjEXOt4 (ORCPT + 99 others); Wed, 24 May 2023 10:49:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235459AbjEXOtx (ORCPT ); Wed, 24 May 2023 10:49:53 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBFD612F; Wed, 24 May 2023 07:49:51 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-96f53c06babso188036366b.3; Wed, 24 May 2023 07:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684939790; x=1687531790; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FyedHscGEFlAyTcL2YX1NQlnWA/wiw8R69Wx/wJ/hdc=; b=RV82gdRnlL16Wu65qUhDbXspGrdeIIJWl7xoa/6zOSti527MJevjRimiCUzTPziFZO LXQF1ZDTV/3/zcamdtRZz8ZjTaCRwsRV9S4pFZ5uklNReyQaGjFVv3TJgM4bAWXjYWza 5scM0fGoMJ8KHYC5sOXZKcIu/O7oNwIojF7xr6ksdH8Y/wsUh0ZyAQ63d0autUHNZ+2u twl1rjWsIe9uU1TwygoWEQUSMnIkZxXuGB36/3ZQrCHItcfEfFNz/Ks7G+2HWFII+w15 iVvlxK9KgFPbc/ltVEXrdiH94N3tysE4hkZxe5PjKCfJbv7tdp0ZDa1jmwaj+2d0e82d h0Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684939790; x=1687531790; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FyedHscGEFlAyTcL2YX1NQlnWA/wiw8R69Wx/wJ/hdc=; b=RRwqH/lkVKmbGORZN5zEUTNsaL/RLePSZ1l5WX+9Qoke4XW3+nsMId3uDKMMEXFBx7 GEFUOx7mPV4OKKeBapFKArwc+YZE9l7CT9IqGnCHcgEA5wNTRPpXzh50q8HoJFC/nTkM m43UZlj4dlpdr8LaGEuRQ+xJJJ1dOONwd+0TeDZ/Hji+4M3DVKmZPPYme1P8Mg1iqNvJ Jw6QZtzuJ3w5jiMTDjqAO9sFSIQ4ndUZuwbwsrwsVvmAhE02c/sQVO4xK0w4ES46HHss 09wGG3Mgl4KzaRHww7MOWg807DDtYZFBN9j5BHfpHGtG9IufCZj3xkjqAkMWprVW2Uyj 4+iw== X-Gm-Message-State: AC+VfDwvNwfdCDNptjcA0B4wqVBTaJ0WGARd7FVBLTAhr255RljxkIVm Und09XJ2fOUUuqDZaPsKthE= X-Received: by 2002:a17:907:9308:b0:969:fc68:fa9a with SMTP id bu8-20020a170907930800b00969fc68fa9amr16755972ejc.40.1684939790273; Wed, 24 May 2023 07:49:50 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id z27-20020a17090674db00b0096efa536229sm6055956ejl.149.2023.05.24.07.49.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 07:49:50 -0700 (PDT) Date: Wed, 24 May 2023 17:49:47 +0300 From: Vladimir Oltean To: arinc9.unal@gmail.com Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 04/30] net: dsa: mt7530: improve comments regarding port 5 and 6 Message-ID: <20230524144947.tdpwdvcssjkr7efu@skbuf> References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-5-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230522121532.86610-5-arinc.unal@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 22, 2023 at 03:15:06PM +0300, arinc9.unal@gmail.com wrote: > diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c > index 024b853f9558..b28d66a7c0b2 100644 > --- a/drivers/net/dsa/mt7530.c > +++ b/drivers/net/dsa/mt7530.c > @@ -2499,7 +2499,9 @@ static void mt7530_mac_port_get_caps(struct dsa_switch *ds, int port, > config->supported_interfaces); > break; > > - case 5: /* 2nd cpu port with phy of port 0 or 4 / external phy */ > + case 5: /* Port 5 which can be used as a CPU port supports rgmii with > + * delays, mii, and gmii. > + */ Please put the comments on dedicated lines: /* Port X can be used as ... */ case X: