mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-23 12:35:33 +00:00
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@gmail.com> (Ammend commit description, add Fixes tag) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
8efbc35c1b
commit
37ab01f571
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user