realtek: Use ADVERTISE_* and MII_PHYSID* from <linux/mii.h>
authorPascal Ernster <git@hardfalcon.net>
Sun, 4 Jun 2023 19:44:39 +0000 (21:44 +0200)
committerSander Vanheule <sander@svanheule.net>
Sat, 1 Jul 2023 18:25:48 +0000 (20:25 +0200)
commit171e67e2f792dd0b3c757b2fd5c804244584cf0c
treedf0ba5728651d2ee5d39671e5a804ba1288822fb
parent8b2f654d4ca4db4204803c37610ed29a19198638
realtek: Use ADVERTISE_* and MII_PHYSID* from <linux/mii.h>

Replace BIT(x) and numerical values in drivers/net/phy/rtl83xx-phy.c
with constants from <linux/mii.h> to improve code readability.

To make reviewing easier, this commit only addresses ADVERTISE_* and
MII_PHYSID* constants.

Signed-off-by: Pascal Ernster <git@hardfalcon.net>
target/linux/realtek/files-5.15/drivers/net/phy/rtl83xx-phy.c