ramips: make PHY initialization more descriptive
authorDavid Bauer <mail@david-bauer.net>
Sun, 6 Jun 2021 17:45:24 +0000 (19:45 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 19 Apr 2022 12:48:21 +0000 (14:48 +0200)
commit08ec622c465e2c6c0cc4ca577a794342882a0abd
tree55e3ad51d47e39a3d3511ef129a90dfe65643c9b
parent4123f177f969f6510c4bf92b37f66c55e94bd0ef
ramips: make PHY initialization more descriptive

The basic mode control register of the ESW PHYs is modified in this
codeblock. Use the respective macros to make this code more readable.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 6a15abbc753ca728d798cec9153fc532fce3791d)
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c