diff options
author | 2019-12-13 18:22:12 +0000 | |
---|---|---|
committer | 2019-12-17 13:26:34 -0800 | |
commit | ef8e0b808b908c49670ef00b95c7848e233ca3bd (patch) | |
tree | 9c347b4a3c6457be800b748fb73840ed82e4e27d /net/tipc | |
parent | net: phylink: extend clause 45 PHY validation workaround (diff) | |
download | linux-rng-ef8e0b808b908c49670ef00b95c7848e233ca3bd.tar.xz linux-rng-ef8e0b808b908c49670ef00b95c7848e233ca3bd.zip |
net: mvpp2: update mvpp2 validate() implementation
Fix up the mvpp2 validate implementation to adopt the same behaviour as
mvneta:
- only allow the link modes that the specified PHY interface mode
supports with the exception of 1000base-X and 2500base-X.
- use the basex helper to deal with SFP modules that can be switched
between 1000base-X vs 2500base-X.
This gives consistent behaviour between mvneta and mvpp2.
This commit depends on "net: phylink: extend clause 45 PHY validation
workaround" so is not marked for backporting to stable kernels.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions