diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-03-21 21:08:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-22 10:26:21 -0400 |
commit | 110a2432c5203d62e5df31180aa0cbd21ea76f82 (patch) | |
tree | 16d9c8226f4bf5e444ac37ef6d2883a62b192980 /kernel | |
parent | 1d965c4def07defeb2f3b0eb927e891c45f46748 (diff) |
net: phy: aquantia: add downshift support
Aquantia PHY's of the AQR107 family support the downshift feature.
Add support for it as standard PHY tunable so that it can be controlled
via ethtool.
The AQCS109 supports a proprietary 2-pair 1Gbps mode. If two such PHY's
are connected to each other with a 2-pair cable, they may not be able
to establish a link if both advertise modes > 1Gbps.
v2:
- add downshift event detection
- warn if downshift occurred
- read downshifted rate from vendor register
- enable downshift per default on all AQR107 family members
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions