]> git.ipfire.org Git - thirdparty/linux.git/commit
net: stmmac: sti: use PHY_INTF_SEL_x to select PHY interface
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 6 Nov 2025 11:23:37 +0000 (11:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Nov 2025 03:05:49 +0000 (19:05 -0800)
commit9cd23c02ac57a4727095e1d1d62974e0bea445fb
tree57a5076e0d8697ee0e1398d367a692e0214f96f5
parent7fe0e06a7364ff7ffb3b44fe1c9340824b45c1a8
net: stmmac: sti: use PHY_INTF_SEL_x to select PHY interface

Use the common dwmac definitions for the PHY interface selection field,
adding MII_PHY_SEL_VAL() temporarily to avoid line wrapping.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vGy5Z-0000000DhQV-1e2l@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c