]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: sti: use PHY_INTF_SEL_x directly
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 6 Nov 2025 11:23:42 +0000 (11:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 8 Nov 2025 03:05:49 +0000 (19:05 -0800)
commitbd5a68159259efc910a5b199b3cd1a27d47205fb
treed44ae4b587797e26b8b85bd0b63b38ce6029e4e5
parent9cd23c02ac57a4727095e1d1d62974e0bea445fb
net: stmmac: sti: use PHY_INTF_SEL_x directly

Use the PHY_INTF_SEL_x values directly rather than the driver private
ETH_PHY_SEL_x values. Move the FIELD_PREP() into sti_dwmac_set_mode().
Use dwmac->interface directly.

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