ramips: mt7620: enable autonegotiation for all ports
authorGaspare Bruno <gaspare@anlix.io>
Wed, 13 Jan 2021 21:03:39 +0000 (18:03 -0300)
committerPetr Štetiar <ynezz@true.cz>
Tue, 19 Apr 2022 12:48:21 +0000 (14:48 +0200)
commitc652a06eefc03a69dfc509880313f44e44c7966a
tree9f01b18c45702288ad34f31a15f225a498597e95
parent08ec622c465e2c6c0cc4ca577a794342882a0abd
ramips: mt7620: enable autonegotiation for all ports

This enables autonegotiation for all ephy ports on probe.
Some devices do not configure the ports, particularly port 4.

Signed-off-by: Gaspare Bruno <gaspare@anlix.io>
[replace magic values ; reword commit message]
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 0056ffb468f40f34bea006eb889b70c9a4f562e0)
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c