diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-12 15:17:37 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-27 10:33:18 +0000 |
commit | cc2f8c303626fa2a9dc5974f184d8e5a7365abbe (patch) | |
tree | ff84c91a10d30179302c1cc96dcb69d1621b2306 /init | |
parent | de99092b4fc51bbbbe7fc6683c2c1a2ec700af01 (diff) |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions