diff options
author | 2019-08-16 16:10:09 +0300 | |
---|---|---|
committer | 2019-08-16 11:56:26 -0700 | |
commit | 2d99b58461e111f1fd662f275f9711027bab4913 (patch) | |
tree | 7547f49eede8582e43e0f28c76cf5a2bd5a397df /net/tipc/node.c | |
parent | net: phy: adin: implement PHY subsystem software reset (diff) | |
download | wireguard-linux-2d99b58461e111f1fd662f275f9711027bab4913.tar.xz wireguard-linux-2d99b58461e111f1fd662f275f9711027bab4913.zip |
net: phy: adin: implement downshift configuration via phy-tunable
Down-speed auto-negotiation may not always be enabled, in which case the
PHY won't down-shift to 100 or 10 during auto-negotiation.
This change enables downshift and configures the number of retries to
default 4 (which is also in the datasheet
The downshift control mechanism can also be controlled via the phy-tunable
interface (ETHTOOL_PHY_DOWNSHIFT control).
The change has been adapted from the Aquantia PHY driver.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions