immortalwrt/target
David Bauer df7993ca56 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>
2021-04-16 12:23:42 +08:00
..
imagebuilder build,ib: add STRIP_ABI option for manifest 2021-03-17 11:29:19 +08:00
linux ath79: fix link mode support list on UniFi AC 2021-04-16 12:23:42 +08:00
sdk sdk: expose binary strip settings 2021-02-20 12:32:48 +08:00
toolchain build: improve ccache support 2021-01-02 12:08:17 +08:00
Config.in include/image*: add support for device-tree overlays 2021-03-18 23:23:45 +08:00
Makefile