ath79: don't autodetect AR8033 PHY capabilities
authorDavid Bauer <mail@david-bauer.net>
Sun, 13 Jun 2021 10:00:41 +0000 (12:00 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 21 Jun 2021 20:43:15 +0000 (22:43 +0200)
commit56228e939365d543933a87cac11109a7d5ccc619
treef419e991284bd7e37c2ecb77f01f34a0183813e6
parent2e157714a8d4a0e1dbd6351ca0a3fe2fce75b0eb
ath79: don't autodetect AR8033 PHY capabilities

PHY capabilities are currently read from the fiber status page, thus
Linux won't advertise 10 / 100 Base-T operation modes, effectively
limiting operation to 1000 Base-T.

Statically set the PHYs capabilities, avoiding autodetection.

The issue itself is properly fixed kernel upstream, however backporting
efforts to OpenWrt master resulted in breaking the fiber operation for
another target.

This is currently only known to be necessary for the Ubiquiti
UniFi AC series, so enabling it in the ath79 target should not
break somewhere else.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ath79/patches-5.4/700-at803x-force-ar8033-features.patch [new file with mode: 0644]