diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-04-14 02:34:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-14 16:33:25 -0700 |
commit | 34b5e6a33c1a8e466c3a73fd437f66fb16cb83ea (patch) | |
tree | 5b35c8ebf492e31bc7c663e2a110718a1f76b5a0 /net/dsa | |
parent | bec8141a17b1af160aa9ff652a74f69ef31f48c7 (diff) | |
download | linux-34b5e6a33c1a8e466c3a73fd437f66fb16cb83ea.tar.gz linux-34b5e6a33c1a8e466c3a73fd437f66fb16cb83ea.tar.bz2 linux-34b5e6a33c1a8e466c3a73fd437f66fb16cb83ea.zip |
net: dsa: mv88e6xxx: Configure MAC when using fixed link
The 88e6185 is reporting it has detected a PHY, when a port is
connected to an SFP. As a result, the fixed-phy configuration is not
being applied. That then breaks packet transfer, since the port is
reported as being down.
Add additional conditions to check the interface mode, and if it is
fixed always configure the port on link up/down, independent of the
PPU status.
Fixes: 30c4a5b0aad8 ("net: mv88e6xxx: use resolved link config in mac_link_up()")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions