Skip to content

Commit 0fa45ee

Browse files
ffainellidavem330
authored andcommitted
net: dsa: bcm_sf2: Include address 0 for MDIO diversion
We need to include MDIO address 0, which is how our Device Tree blobs indicate where to find the external BCM53125 switches. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8c28044 commit 0fa45ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/dsa/bcm_sf2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ static int bcm_sf2_mdio_register(struct dsa_switch *ds)
538538
* driver.
539539
*/
540540
if (of_machine_is_compatible("brcm,bcm7445d0"))
541-
priv->indir_phy_mask |= (1 << BRCM_PSEUDO_PHY_ADDR);
541+
priv->indir_phy_mask |= (1 << BRCM_PSEUDO_PHY_ADDR) | (1 << 0);
542542
else
543543
priv->indir_phy_mask = 0;
544544

0 commit comments

Comments
 (0)