[openwrt/openwrt] kernel: b53: update the BCM5365 UID in the fixup
LEDE Commits
lede-commits at lists.infradead.org
Fri Mar 5 11:21:39 GMT 2021
noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cfa43f81198716e96477c2c5c5ee1a5408da9df0
commit cfa43f81198716e96477c2c5c5ee1a5408da9df0
Author: Daniel González Cabanelas <dgcbueu at gmail.com>
AuthorDate: Sat Feb 27 11:58:33 2021 +0100
kernel: b53: update the BCM5365 UID in the fixup
The BCM5365 UID was updated in the driver, but we should also update it in the
fixup.
Fixes: cbcac4fde8ba ("kernel: b53: update the BCM5365 UID")
Signed-off-by: Daniel González Cabanelas <dgcbueu at gmail.com>
(Ammend commit description, add Fixes tag)
Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
target/linux/generic/files/drivers/net/phy/b53/b53_phy_fixup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_phy_fixup.c b/target/linux/generic/files/drivers/net/phy/b53/b53_phy_fixup.c
index e2f8a39ab6..a19eccefd1 100644
--- a/target/linux/generic/files/drivers/net/phy/b53/b53_phy_fixup.c
+++ b/target/linux/generic/files/drivers/net/phy/b53/b53_phy_fixup.c
@@ -24,7 +24,7 @@
#define B53_BRCM_OUI_1 0x0143bc00
#define B53_BRCM_OUI_2 0x03625c00
-#define B53_BRCM_OUI_3 0x00406000
+#define B53_BRCM_OUI_3 0x00406300
static int b53_phy_fixup(struct phy_device *dev)
{
@@ -40,7 +40,7 @@ static int b53_phy_fixup(struct phy_device *dev)
if ((phy_id & 0xfffffc00) == B53_BRCM_OUI_1 ||
(phy_id & 0xfffffc00) == B53_BRCM_OUI_2 ||
- (phy_id & 0xfffffc00) == B53_BRCM_OUI_3) {
+ (phy_id & 0xffffff00) == B53_BRCM_OUI_3) {
dev->phy_id = phy_id;
}
More information about the lede-commits
mailing list