diff options
author | David Bauer <mail@david-bauer.net> | 2021-04-15 00:54:49 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2021-04-15 22:40:39 +0200 |
commit | 8222f8e1b9bec804fc4e8b21c546cc602b2e1fa2 (patch) | |
tree | f5f91fe99adff6c43bad2f26b91f96e7afd6e3c5 /target/linux/ath79 | |
parent | 7f703716ae0e4cb4810eff37605b7594cef1edb8 (diff) | |
download | upstream-8222f8e1b9bec804fc4e8b21c546cc602b2e1fa2.tar.gz upstream-8222f8e1b9bec804fc4e8b21c546cc602b2e1fa2.tar.bz2 upstream-8222f8e1b9bec804fc4e8b21c546cc602b2e1fa2.zip |
ath79: fix link mode support list on UniFi AC
This fixes incorrect supported link modes indicated when using ethtool
on the Ubiquiti UniFi AC lite / LR / Mesh.
eroot@OpenWrt:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 100baseT/Half 100baseT/Full
1000baseT/Full
1000baseX/Full
The reason for this is, that since kernel 5.4 the PHY capabilities are
read dynamically from the PHY. As Ubiquiti leaves the PHY in a wrong
state, the capabilities of the SGMII side of the PHY are read.
As a side effect, 10 Mbit/s link modes did not work on these boards.
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/ath79')
0 files changed, 0 insertions, 0 deletions