projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c28044
)
net: dsa: bcm_sf2: Include address 0 for MDIO diversion
author
Florian Fainelli
<f.fainelli@gmail.com>
Tue, 22 Sep 2020 20:03:56 +0000
(13:03 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 24 Sep 2020 00:51:16 +0000
(17:51 -0700)
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>
drivers/net/dsa/bcm_sf2.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/bcm_sf2.c
b/drivers/net/dsa/bcm_sf2.c
index 2bd52b03de38288300559267f3270b28c56f7205..0b5b2b33b3b620d11d8e7cb0b84a5468ff55e887 100644
(file)
--- a/
drivers/net/dsa/bcm_sf2.c
+++ b/
drivers/net/dsa/bcm_sf2.c
@@
-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;