openwrt/target/linux/realtek
Pascal Ernster 87a2f03b86 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>
2023-07-01 20:25:48 +02:00
..
base-files realtek: add support for TP-Link SG2210P 2022-09-13 09:22:26 +02:00
dts-5.15 realtek: hpe_1920-8g: add phy-handle for SFP ports 2023-04-30 21:59:26 +02:00
files/firmware/rtl838x_phy realtek: update the tree to the latest refactored version 2020-11-26 13:29:27 +01:00
files-5.15 realtek: Use MDIO_* constants from <linux/mdio.h> 2023-07-01 20:25:48 +02:00
image realtek: Fix typo for EnGenius EWS2910P 2023-04-07 11:22:37 +02:00
patches-5.15 kernel: bump 5.15 to 5.15.118 2023-06-23 23:05:45 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
rtl839x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
rtl930x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
rtl931x treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
Makefile realtek: switch to Kernel 5.15 by default 2023-03-14 18:47:00 +01:00