diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-08-16 16:10:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-16 11:56:26 -0700 |
commit | 2d99b58461e111f1fd662f275f9711027bab4913 (patch) | |
tree | 7547f49eede8582e43e0f28c76cf5a2bd5a397df /crypto/poly1305_generic.c | |
parent | fa5bd9c5f1cdb0fa90530113056f45d699009ede (diff) |
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 'crypto/poly1305_generic.c')
0 files changed, 0 insertions, 0 deletions