diff options
author | Klaus Kudielka <[email protected]> | 2023-03-15 17:38:45 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-03-17 22:31:42 -0700 |
commit | 2cb0658d4f88608a19b3833789ac0ac8a4214f0b (patch) | |
tree | 8e7194483299b5164a8d2c1c205bed71e16df04b /tools/perf/scripts/python/mem-phys-addr.py | |
parent | f1bee740fa821c28582bb17c42e2242041e598b8 (diff) |
net: dsa: mv88e6xxx: move call to mv88e6xxx_mdios_register()
Call the rather expensive mv88e6xxx_mdios_register() at the beginning of
mv88e6xxx_setup(). This avoids the double call via mv88e6xxx_probe()
during boot.
For symmetry, call mv88e6xxx_mdios_unregister() at the end of
mv88e6xxx_teardown().
Link: https://lore.kernel.org/lkml/[email protected]/
Suggested-by: Andrew Lunn <[email protected]>
Signed-off-by: Klaus Kudielka <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Tested-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions