commit | 5d5b231da7acfa6d65c78b4414158cbff5fc4040 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Sat Mar 14 10:16:03 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 15 17:11:12 2020 -0700 |
tree | abc746fdee60164144b4880aebe7bbdde6ee8522 | |
parent | dc745ece3bd5a3f0aacb70f0359dddd789806420 [diff] |
net: dsa: mv88e6xxx: use PHY_DETECT in mac_link_up/mac_link_down Use the status of the PHY_DETECT bit to determine whether we need to force the MAC settings in mac_link_up() and mac_link_down(). Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>