]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: fix RTL8214FC probing on RTL839x 18671/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Thu, 1 May 2025 17:19:01 +0000 (13:19 -0400)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 2 May 2025 00:29:22 +0000 (03:29 +0300)
commit241343a2f2f0d3a22b5fd2f16eb0a578c76b4948
treed2d5c0a0c97a8a8b460c44d387d0c75fb9e6cd1b
parent576278a5075ea8367f1085e6e5bcc2637c58832f
realtek: fix RTL8214FC probing on RTL839x

Probing of the RTL8214FC on RTL839x is currently very strange.

- On RTL8393 nothing is detected and only generic PHY is reported
- On RTL8392 the port 1 is not detected while port 2-4 seem to work

Someone left a special RTL8393 detection rules that seems to indicate
that the we probe the internal SerDes instead. That is not true. Since
upgrade to kernel 6.6 the RTL8218/RTL8214FC detection is 100% accurate
and probing functions are only called when really needed.

Fix the issue by removing the condition. For now do PHY patching only
on the RTL838x where it already worked before.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18671
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-6.6/drivers/net/phy/rtl83xx-phy.c