diff options
author | Marek BehĂșn <[email protected]> | 2021-12-11 23:51:41 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-13 14:40:29 +0000 |
commit | 9d591fc028b6bddb38c6585874f331267cbdadae (patch) | |
tree | ec49fd7c99f0dba8c6c53db933cc778d5412497f /scripts/gdb/linux/rbtree.py | |
parent | a8d13611b4a7b1b20d17bf2b9a89a3efcabde56c (diff) |
net: dsa: mv88e6xxx: Unforce speed & duplex in mac_link_down()
Commit 64d47d50be7a ("net: dsa: mv88e6xxx: configure interface settings
in mac_config") removed forcing of speed and duplex from
mv88e6xxx_mac_config(), where the link is forced down, and left it only
in mv88e6xxx_mac_link_up(), by which time link is unforced.
It seems that (at least on 88E6190) when changing cmode to 2500base-x,
if the link is not forced down, but the speed or duplex are still
forced, the forcing of new settings for speed & duplex doesn't take in
mv88e6xxx_mac_link_up().
Fix this by unforcing speed & duplex in mv88e6xxx_mac_link_down().
Fixes: 64d47d50be7a ("net: dsa: mv88e6xxx: configure interface settings in mac_config")
Signed-off-by: Marek BehĂșn <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions