Message ID | 1821996.83oqt9H2Yk@tool |
---|---|
State | Accepted |
Delegated to: | Álvaro Fernández |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=QZWDmPLy; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Y7RQgAMF; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DnL0v0smGz9sBJ for <incoming@patchwork.ozlabs.org>; Sat, 27 Feb 2021 06:52:47 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Zm+fIsqaGkoWsgqfdpw5c7zh/XOSQq6/RxGU3Xls7TE=; b=QZWDmPLy+Agz1CQtX+v09F3329 rwcRQsNc7Pxw5g37VW0VqyCh5776xJWdJ9so3X/cFBn0s4syqw4JjJDcKGcOyZHqQCKqsKNNsPXhb EssgQ33xq4p8qNr6VbOUo2R5K+WXlLtew/yMN+HkmZBO2l2x0gEFE1AZZmghwuUoe0UZK2zyFgJCI f8o2JUgUyIpBCiLvvJyRXtjNpGrKg+Vm4hMLVjOaPkFb8NezffY2M95lLYVkuE/d0QhPwiG+b0qgA MW08rKTn+Hs3NI3x1mIZwqI6IYa5FAZwxz9aoTV4yD7SnuBQsqz5gHVs6o+vYoNUDV1/vei4rXHze HCkIay3Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFj87-0002V8-Ut; Fri, 26 Feb 2021 19:50:27 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFj85-0002Ud-PP for openwrt-devel@lists.openwrt.org; Fri, 26 Feb 2021 19:50:26 +0000 Received: by mail-wr1-x429.google.com with SMTP id f12so5889119wrx.8 for <openwrt-devel@lists.openwrt.org>; Fri, 26 Feb 2021 11:50:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+rNy6RQKD1xU/J2M9pgoul1hV1tKS+tPj6UELG25WmQ=; b=Y7RQgAMFZ6ifgZ4br89nZS3hME779w4f5928pMRlrlnd2qCyivlJVGhoK27RXErwGJ 4GroBWcQYgGg6EMe+eKGgUMSNK+sg6Du644n1+kcQIa3WrPTCq/uXFSis6kQycYiMem0 IZJ9t4UD3Nsv4afFF3jC/7lE+rpzmcURPBHwjyrLBlskjQ4vKAtaCgaolfr6N0dg7+37 HPdM9vUdlCwLy7CghXuEfzslrkuxlIFG9D2tkEsZWdNchcfxL0MEHyE0Rgu94OXTVHiW XWW5+/MlGytGsON76dDCrBrB1BRMLnEacfuIFL5LdrFVTc/w3nPUqxcAQIGPn3j9054t T5xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+rNy6RQKD1xU/J2M9pgoul1hV1tKS+tPj6UELG25WmQ=; b=kXITxaxq0iOy/etnsTKfwBp3uxLQNDdUwSetq4GYoCV+uReOfcImpzNROcScuI8C8T UIimIkR28x/Ke+CzN0cNTy6xRvTqEMx+LgwFErENkH+olTkz13r9wEjtCgbdtAT+ovj3 cQAnolkycrEXerJh4E49zikMS3aPCChPCN4P4iv9Vl8WIdTEul59E0DYMFKoQeSIb3oI L/j7o6acQnj8ql9NoqtlWGmSo5vR5MKxQ72/wiXurskeuIaer6E9qnqbw4IR/QO4No4l t24+qTh7ixRBO/FmydihCNlyvKjEG3N3R/WQ3ioKr6ogWxSnCStZepm08aF1IgnRqi53 Ezzw== X-Gm-Message-State: AOAM531s7QXvcT2HKRP2xZSwjfYXkUJo5Wp/KY9SmaQmGtQWqmY3sIbQ kWcIgwo6HJs2h6yGBrOTcR+wVZlJmQq0gQ== X-Google-Smtp-Source: ABdhPJwMxCNi9WQmRBYUb39Lfd5oJMCJwcThUgr4RJKgcGLofyjWsEn8kwLXqYFrcbX/2/xv/BEsYA== X-Received: by 2002:a5d:4bc1:: with SMTP id l1mr5017174wrt.396.1614369020229; Fri, 26 Feb 2021 11:50:20 -0800 (PST) Received: from tool.localnet ([213.177.198.100]) by smtp.gmail.com with ESMTPSA id g17sm13185737wru.60.2021.02.26.11.50.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 11:50:19 -0800 (PST) From: Daniel =?iso-8859-1?q?Gonz=E1lez?= Cabanelas <dgcbueu@gmail.com> To: openwrt-devel@lists.openwrt.org Subject: kernel: b53: update the BCM5365 UID Date: Fri, 26 Feb 2021 20:49:00 +0100 Message-ID: <1821996.83oqt9H2Yk@tool> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210226_145025_868744_358F217C X-CRM114-Status: GOOD ( 11.53 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:429 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [dgcbueu[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Cc: noltari@gmail.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
kernel: b53: update the BCM5365 UID
|
expand
|
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c b/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c index afe2187cd6..98cdbffe73 100644 --- a/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c +++ b/target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c @@ -417,9 +417,9 @@ static struct phy_driver b53_phy_driver_id2 = { /* BCM5365 */ static struct phy_driver b53_phy_driver_id3 = { - .phy_id = 0x00406000, + .phy_id = 0x00406300, .name = "Broadcom B53 (3)", - .phy_id_mask = 0x1ffffc00, + .phy_id_mask = 0x1fffff00, .features = 0, .probe = b53_phy_probe, .remove = b53_phy_remove,
BCM63XX internal PHYs and BCM5365 SoC internal switch are both using the same phy_driver->phy_id, causing conflicts and unnecessary probes. E.g the BCM63XX phy internal IRQ is lost on the first probe. The full BCM5365 UID is 0x00406370. Use an additional byte to mask the BCM5365 UID to avoid duplicate driver phy_id's. This will fix the IRQ issue in internal BCM63XX PHYs and avoid more conflicts in the future. Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com> --- target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)