diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-13 18:22:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-17 13:26:34 -0800 |
commit | ef8e0b808b908c49670ef00b95c7848e233ca3bd (patch) | |
tree | 9c347b4a3c6457be800b748fb73840ed82e4e27d /drivers/usb | |
parent | df3f57ac960590f4e87ec71549efd49bbfdb25d0 (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>
Acked-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions