]> git.ipfire.org Git - thirdparty/linux.git/commit
net: stmmac: lpc18xx: use stmmac_get_phy_intf_sel()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 6 Nov 2025 11:23:21 +0000 (11:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Nov 2025 03:05:48 +0000 (19:05 -0800)
commit9882f12194082a0178a025946911e677cfdcd8d8
treed41612a7b6fc449350fc690363c1fdb259c42006
parenteb0533c7e63be03c1220f24bd00aeb2a4f0e3f78
net: stmmac: lpc18xx: use stmmac_get_phy_intf_sel()

Use stmmac_get_phy_intf_sel() to decode the PHY interface mode to the
phy_intf_sel value, and use the result to program the ethernet mode.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vGy5J-0000000DhQD-46Ob@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-lpc18xx.c