]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: phy: convert confusing BMCR_PDOWN usage for RTL8214FC
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sat, 17 Jan 2026 18:50:32 +0000 (19:50 +0100)
committerRobert Marko <robimarko@gmail.com>
Sat, 24 Jan 2026 10:44:09 +0000 (11:44 +0100)
commit07bb4f51158be149f5bef54faf9dc545ce2c40d5
tree46579c31a8c9f6fd35fc7601757102cce1f11a6f
parent17f12695d0838681020e598ce231af87057f955f
realtek: phy: convert confusing BMCR_PDOWN usage for RTL8214FC

Bit 11 of registers 16, 19, 20, 21 in page 0x266 denotes if a port
of a RTL8214FC is set/favoured to fibre (0) or copper (1). For unknown
reasons the bit was mixed with BMCR_PDOWN. Convert this to a meaningful
define.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21582
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c