diff options
author | Arınç ÜNAL <[email protected]> | 2024-03-01 12:43:04 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-03-05 12:23:43 +0100 |
commit | 6324230b3b675397a5bcabf9bf7b0bd0a7f2ae0a (patch) | |
tree | ba6f5575e84e1545e85499b754451e78c1dc1cd4 /lib/crypto/mpi/mpi-bit.c | |
parent | 3a87131e3d72281285d4df7db2d7d3299b1edb18 (diff) |
net: dsa: mt7530: sort link settings ops and force link down on all ports
port_enable and port_disable clears the link settings. Move that to
mt7530_setup() and mt7531_setup_common() which set up the switches. This
way, the link settings are cleared on all ports at setup, and then only
once with phylink_mac_link_down() when a link goes down.
Enable force mode at setup to apply the force part of the link settings.
This ensures that disabled ports will have their link down.
Suggested-by: Vladimir Oltean <[email protected]>
Signed-off-by: Arınç ÜNAL <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions