mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 14:19:16 +00:00
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 <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8c28044097
commit
0fa45ee3c1
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ static int bcm_sf2_mdio_register(struct dsa_switch *ds)
|
|||
* driver.
|
||||
*/
|
||||
if (of_machine_is_compatible("brcm,bcm7445d0"))
|
||||
priv->indir_phy_mask |= (1 << BRCM_PSEUDO_PHY_ADDR);
|
||||
priv->indir_phy_mask |= (1 << BRCM_PSEUDO_PHY_ADDR) | (1 << 0);
|
||||
else
|
||||
priv->indir_phy_mask = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue