]> git.ipfire.org Git - thirdparty/linux.git/commit
net: stmmac: dwmac-sophgo: Add phy interface filter
authorInochi Amaoto <inochiama@gmail.com>
Fri, 14 Nov 2025 00:38:05 +0000 (08:38 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 18 Nov 2025 03:57:38 +0000 (19:57 -0800)
commitdb37c6e510deabc9b0ee27c08f1c5aaa19f2e8ef
tree448dc538ef0f14bb17d8fccf696f5a8268dd365e
parent24afd7827efb7c69adfc41835390470e3eec4740
net: stmmac: dwmac-sophgo: Add phy interface filter

As the SG2042 has an internal rx delay, the delay should be removed
when initializing the mac, otherwise the phy will be misconfigurated.

Fixes: 543009e2d4cd ("net: stmmac: dwmac-sophgo: Add support for Sophgo SG2042 SoC")
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Tested-by: Han Gao <rabenda.cn@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251114003805.494387-4-inochiama@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c