Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp312728rdb; Thu, 19 Oct 2023 05:31:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGgVMbpxzDVnsS4cl6yJm1gat/QJBDD26FphL0rCQUGNOoG/POknhcDY+hXWQZgqrRb9xUO X-Received: by 2002:a05:6a21:789b:b0:153:73ec:fe67 with SMTP id bf27-20020a056a21789b00b0015373ecfe67mr2312551pzc.19.1697718669449; Thu, 19 Oct 2023 05:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697718669; cv=none; d=google.com; s=arc-20160816; b=Gl2fWsnQdKZN98pvWslwtmTSofLKW7GNE91pDlwUCrjO60oJWlnJNy5Q1tjQCT4GX/ HiAobu9eLh7taOuRFCHqrm9gSt2AehZk7ZAaMPpaZjgGCyolh7JLoiZwOQiA/YnNlLLc raBBpGEUevIO42HmMtBHFOqn/PDPui28LCDscubh0pleL7lhBWIgZXBKqFPZgLRR2URv W4S9fRe8xgS3tHlhDI13RkhevYQx0M0JmtUsQk+OPqX+RrLZnuscM750iViORImmtnDH NcBpfwPf4nlw+iKn7FP0y+Qe5Gnv+NV2FGwMuk5VYpipQRRjvLUSMJaEsyksc5j3/c9G OsyA== 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; bh=tuz8C4IadzKxbhh5tWQRuWR1AO0hPUYRv+i3cV0ollU=; fh=oL5u1qxwpthPG0onT/4SNMwjdlMbLicDue2DPzZvioY=; b=Sozpk2lUuMX16irS820TpFD2NtU3y+HPOZdy8bZXXKR0gF1V3xeRu/c48joHLkAsm/ zaRCVQTDRLw8/rVb1JWbz8zos1AZ7jNktdKUzdTemZxKRIbojZX6VuiFXldo3mg5sw1d YIgUaFuNN8ljHB8addSV0XkRWbsjFu8s7Swe3i+Thr6mk9J2e2/t9kAso80QnmMbbu5e EIUN6Gf4aPrZFG2GSdeNX+Y6ZMnpcw3HG6sz0XwlWDRcT9Trbnn9cUjI4a145clt0xuy 86mtmALmbeIj1NdOHwPid93eEXs3vxuck38OuUMGW6Zo2Y+vrXYI2BGXUA5VsBMp9yOH F1VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e10-20020a656bca000000b00578a56baebesi4430040pgw.674.2023.10.19.05.31.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 05:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 83885807BA33; Thu, 19 Oct 2023 05:30:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235390AbjJSM3o (ORCPT + 99 others); Thu, 19 Oct 2023 08:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345592AbjJSM3X (ORCPT ); Thu, 19 Oct 2023 08:29:23 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F41EB13E for ; Thu, 19 Oct 2023 05:29:17 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qtS8y-0006Ks-OX; Thu, 19 Oct 2023 14:28:52 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtS8x-002mrj-Fm; Thu, 19 Oct 2023 14:28:51 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qtS8x-00528i-1K; Thu, 19 Oct 2023 14:28:51 +0200 From: Oleksij Rempel To: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Woojung Huh , Arun Ramadoss , Conor Dooley , Krzysztof Kozlowski , Rob Herring Cc: Oleksij Rempel , Florian Fainelli , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, "Russell King (Oracle)" , devicetree@vger.kernel.org Subject: [PATCH net-next v6 1/9] net: dsa: microchip: Add missing MAC address register offset for ksz8863 Date: Thu, 19 Oct 2023 14:28:42 +0200 Message-Id: <20231019122850.1199821-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231019122850.1199821-1-o.rempel@pengutronix.de> References: <20231019122850.1199821-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 05:30:17 -0700 (PDT) Add the missing offset for the global MAC address register (REG_SW_MAC_ADDR) for the ksz8863 family of switches. Signed-off-by: Oleksij Rempel Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli --- drivers/net/dsa/microchip/ksz_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index b800ace40ce1..02fab1adb27f 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c @@ -441,6 +441,7 @@ static const u8 ksz8795_shifts[] = { }; static const u16 ksz8863_regs[] = { + [REG_SW_MAC_ADDR] = 0x70, [REG_IND_CTRL_0] = 0x79, [REG_IND_DATA_8] = 0x7B, [REG_IND_DATA_CHECK] = 0x7B, -- 2.39.2