Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp950241iog; Wed, 15 Jun 2022 16:31:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s1wXTCx5Z9Zy7kTA3I8FG/VE1ZNkzkLme6Ilw9/+aMaiYX0Junm4Uz/xpKH5tF2qEbPvdN X-Received: by 2002:a63:6fc8:0:b0:409:86be:be0d with SMTP id k191-20020a636fc8000000b0040986bebe0dmr987807pgc.361.1655335878234; Wed, 15 Jun 2022 16:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655335878; cv=none; d=google.com; s=arc-20160816; b=jc8nTrHySTQ4i7BVLvZdcwzS+fCchTk4O5T2SwM7UExRfMP6qkh8k5D01FXDZ4voT6 2Z+U0FQPOySXrIBLwS/aS37mKGL+k8GXeV7QwAAbu/lXjaKZn4S+TsC2MCGQVeAwK0Bh eP/Ii3s6hVTXg8bAgad1iayeNDBbHlsnaxC23afamDwzNaY0J/Vbv9cQYTSW5MdabBzB 0u5cMNab+LVtahlhtCjpMDzSJgqTl33kSIqFXzp0sqq9FXrgKFW/OYqwk3lAWQr9xQsT zWBUlxOvKl9i9TdthkGmnY1M6jwcnNjf4t8nCdyzoIPrWZAWeXTOVkxZu0mPst23nghl RvOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zSzdOiSgxbYWZxXEulfQBrTFa8jqymfNEasGrW3oI+Y=; b=Qg0aT5uWcWU8HhT73a5KtllKQZUz9jJJc3TwmaB3pMVAlmWky+BIegBgXVAXPewfbV UM459YQw6ajDrF/8+L/kjLtwgsLa+ys3w4lPj2xqFuCmTM/BbkElcsCrdIJ5kdFzEg/X Hw8+kBErLyAI53SrKgV8oWpjXZkHNyp+8WHf81KBNwdG0EnQJ7wS5pZztodrm8yuGGwS 1gnN8bfum5Zr3mAZs9uy1dXRfw2iUClgrTDo3SRjfiHDrF5rqddo/dfLgCcaTqZ9zTId OWKAV0v8zFcUMvZrUp0uQwxmYQOTzx4QpvriHytacSEzoMSl+isFU4W50Cgw2myxKDFP 3ArA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@pqrs.dk header.s=google header.b=nDXpbxcK; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a14-20020a65640e000000b004085af503f7si442032pgv.424.2022.06.15.16.31.03; Wed, 15 Jun 2022 16:31:18 -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=temperror (no key for signature) header.i=@pqrs.dk header.s=google header.b=nDXpbxcK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350496AbiFOWvf (ORCPT + 99 others); Wed, 15 Jun 2022 18:51:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350414AbiFOWvb (ORCPT ); Wed, 15 Jun 2022 18:51:31 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E12F856406 for ; Wed, 15 Jun 2022 15:51:29 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id fu3so25973143ejc.7 for ; Wed, 15 Jun 2022 15:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqrs.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zSzdOiSgxbYWZxXEulfQBrTFa8jqymfNEasGrW3oI+Y=; b=nDXpbxcKOzdVuZicNv5F2+PRhUSKEiINNs+eqhsd5039Cf3uczSQdHcn4hMpLr4htN SPlUe96Ie4d9UdpdL2WOFshK1RHGhks1LECgZ7ivssvVm4ToWloOeGjfchBmf54yC7ru Ic6ZF59aeggWbCSv2XJB1bDtiToDd72Z+x1Vw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zSzdOiSgxbYWZxXEulfQBrTFa8jqymfNEasGrW3oI+Y=; b=2TUGsUmzOk8/8grleEjtA4PWzL1u9jOkyXZHFrYhCAmBdUXHksfZcgqJxK9TVh2FDT y91vKS/bUEgfpTpq/uZxkW9YhyoqFvOcZHCOVO6cmaWUrxr9J6TEQVg6PGNqGhYzkh36 n3hMr7/vQrWCqTN6iua/yM0eiy7dkA2ea6Tw5Zm2xqflJNW6FE/zqMUaSjysGTJST9+l gt/3I2ov+R7T8rwpZzIPifOtdacxr6emrh+nHGKFfo9QbssySzAwkcM6TqmLIvwtCvd1 Pk0hIBZ+HIWj+AjquTG457zmw/cy81c2gyL48GWtlCNAWSUdgWHfkXhYgg1DIs+FlAkz Hu2A== X-Gm-Message-State: AJIora+ya3wwkneOPClkoHJiUyHM29zlqMiAhk2QZjMK06TbW2rK1Q26 7e6M3i/AoCzSgeVal/UdujfDJQ== X-Received: by 2002:a17:906:9b86:b0:6f8:24e7:af7d with SMTP id dd6-20020a1709069b8600b006f824e7af7dmr1966601ejc.295.1655333488459; Wed, 15 Jun 2022 15:51:28 -0700 (PDT) Received: from localhost.localdomain (80.71.142.18.ipv4.parknet.dk. [80.71.142.18]) by smtp.gmail.com with ESMTPSA id h23-20020aa7c617000000b0042e21f8c412sm371506edq.42.2022.06.15.15.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jun 2022 15:51:28 -0700 (PDT) From: =?UTF-8?q?Alvin=20=C5=A0ipraga?= To: hauke@hauke-m.de, Linus Walleij , =?UTF-8?q?Alvin=20=C5=A0ipraga?= , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King Cc: Luiz Angelo Daros de Luca , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v3 1/5] net: dsa: realtek: rtl8365mb: rename macro RTL8367RB -> RTL8367RB_VB Date: Thu, 16 Jun 2022 00:51:11 +0200 Message-Id: <20220615225116.432283-2-alvin@pqrs.dk> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220615225116.432283-1-alvin@pqrs.dk> References: <20220615225116.432283-1-alvin@pqrs.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Alvin Šipraga The official name of this switch is RTL8367RB-VB, not RTL8367RB. There is also an RTL8367RB-VC which is rather different. Change the name of the CHIP_ID/_VER macros for reasons of consistency. Signed-off-by: Alvin Šipraga Reviewed-by: Luiz Angelo Daros de Luca --- drivers/net/dsa/realtek/rtl8365mb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/dsa/realtek/rtl8365mb.c b/drivers/net/dsa/realtek/rtl8365mb.c index 769f672e9128..905056250b88 100644 --- a/drivers/net/dsa/realtek/rtl8365mb.c +++ b/drivers/net/dsa/realtek/rtl8365mb.c @@ -108,8 +108,8 @@ #define RTL8365MB_CHIP_ID_8367S 0x6367 #define RTL8365MB_CHIP_VER_8367S 0x00A0 -#define RTL8365MB_CHIP_ID_8367RB 0x6367 -#define RTL8365MB_CHIP_VER_8367RB 0x0020 +#define RTL8365MB_CHIP_ID_8367RB_VB 0x6367 +#define RTL8365MB_CHIP_VER_8367RB_VB 0x0020 /* Family-specific data and limits */ #define RTL8365MB_PHYADDRMAX 7 @@ -1988,7 +1988,7 @@ static int rtl8365mb_detect(struct realtek_priv *priv) "found an RTL8365MB-VC switch (ver=0x%04x)\n", chip_ver); break; - case RTL8365MB_CHIP_VER_8367RB: + case RTL8365MB_CHIP_VER_8367RB_VB: dev_info(priv->dev, "found an RTL8367RB-VB switch (ver=0x%04x)\n", chip_ver); -- 2.36.1