summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-11-07 02:15:16 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-07 02:39:48 +0300
commitc04a17d2a9ccf1eaba1c5a56f83e997540a70556 (patch)
treec45fb9203f05e4eab6c2c06c4e86d582a80ac129 /tools/perf/scripts/python/mem-phys-addr.py
parent5882d526d887e42ead4014d79620e5a8aa741151 (diff)
downloadlinux-c04a17d2a9ccf1eaba1c5a56f83e997540a70556.tar.xz
net: dsa: bcm_sf2: Turn on PHY to allow successful registration
We are binding to the PHY using the SF2 slave MDIO bus that we create, binding involves reading the PHY's MII_PHYSID1/2 which won't be possible if the PHY is turned off. Temporarily turn it on/off for the bus probing to succeeed. This fixes unbind/bind problems where the port connecting to that PHY would be in error since it could not connect to it. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions