aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/wpan.mk
diff options
context:
space:
mode:
authorPascal Ernster <git@hardfalcon.net>2023-06-04 22:16:20 +0200
committerSander Vanheule <sander@svanheule.net>2023-07-01 20:25:48 +0200
commit87a2f03b86588d7a71af789225ebce284c6cb25d (patch)
tree4a15f4c0e528326097e06ef14a3be2cfdb96e4ec /package/kernel/linux/modules/wpan.mk
parent171e67e2f792dd0b3c757b2fd5c804244584cf0c (diff)
downloadupstream-87a2f03b86588d7a71af789225ebce284c6cb25d.tar.gz
upstream-87a2f03b86588d7a71af789225ebce284c6cb25d.tar.bz2
upstream-87a2f03b86588d7a71af789225ebce284c6cb25d.zip
realtek: Use MDIO_* constants from <linux/mdio.h>
To improve code readability in drivers/net/phy/rtl83xx-phy.c, replace constants MMD_AN and MMD_VEND2 from drivers/net/phy/rtl83xx-phy.h with MDIO_MMD_AN and MDIO_MMD_VEND2 from <linux/mdio.h>. Also, replace BIT(0) with MDIO_EEE_2_5GT, BIT(1) with MDIO_EEE_100TX, BIT(2) with MDIO_EEE_1000T, BIT(9) with MDIO_AN_CTRL1_RESTART, BIT(12) with MDIO_AN_CTRL1_ENABLE, 32 with MDIO_AN_10GBT_CTRL, 60 with MDIO_AN_EEE_ADV, and 62 with MDIO_AN_EEE_ADV2 from <linux/mdio.h>. Suggested-by: DENG Qingfang <dqfext@gmail.com> Signed-off-by: Pascal Ernster <git@hardfalcon.net>
Diffstat (limited to 'package/kernel/linux/modules/wpan.mk')
0 files changed, 0 insertions, 0 deletions