diff options
| author | Markus Stockhausen | 2026-02-08 11:35:59 +0000 |
|---|---|---|
| committer | Robert Marko | 2026-02-09 08:59:25 +0000 |
| commit | 35a497b72ea3277d1a80df22d91ec4173a2d96d2 (patch) | |
| tree | eea77982eba9fc551ff47832c04c6c1bd1f30f51 | |
| parent | 0780972fd5c5c4f07d3d45f132f657cc0cf91e66 (diff) | |
| download | openwrt-35a497b72ea3277d1a80df22d91ec4173a2d96d2.tar.gz | |
realtek: phy: drop refactoring leftovers
Drop some lines that are not needed any longer.
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21929
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c b/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c index 1c18d70db0..6704f31a2b 100644 --- a/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c +++ b/target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c @@ -35,17 +35,9 @@ #define RTL821X_PAGE_PATCH 0x0b82 #define RTL821X_MAC_SDS_PAGE(sds, page) (0x404 + (sds) * 0x20 + (page)) -/* Using the special page 0xfff with the MDIO controller found in - * RealTek SoCs allows to access the PHY in RAW mode, ie. bypassing - * the cache and paging engine of the MDIO controller. - */ -#define RTL838X_PAGE_RAW 0x0fff - #define RTL821X_PHYCR2 0x19 #define RTL821X_PHYCR2_PHY_EEE_ENABLE BIT(5) -#define RTL821X_CHIP_ID 0x6276 - #define RTL821X_MEDIA_PAGE_AUTO 0 #define RTL821X_MEDIA_PAGE_COPPER 1 #define RTL821X_MEDIA_PAGE_FIBRE 3 |