diff options
author | Marek BehĂșn <kabel@kernel.org> | 2023-03-19 15:02:38 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-03-21 12:52:04 +0100 |
commit | a4926c2943dd17f84b552ba6fb754df0dc6a2fa8 (patch) | |
tree | 195bf28fdb838698b10f1db3a21eb70dd0b06d82 /tools/perf/scripts/python/task-analyzer.py | |
parent | a08df15eab0c572bc1d98c2392bcfcd744f26eda (diff) |
net: dsa: mv88e6xxx: fix mdio bus' phy_mask member
Commit 2c7e46edbd03 ("net: dsa: mv88e6xxx: mask apparently non-existing
phys during probing") added non-trivial bus->phy_mask in
mv88e6xxx_mdio_register() in order to avoid excessive mdio bus
transactions during probing.
But the mask is incorrect for switches with non-zero phy_base_addr (such
as 88E6341).
Fix this.
Fixes: 2c7e46edbd03 ("net: dsa: mv88e6xxx: mask apparently non-existing phys during probing")
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Tested-by: Klaus Kudielka <klaus.kudielka@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20230319140238.9470-1-kabel@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions