]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: ingenic: use PHY_INTF_SEL_x directly
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 7 Nov 2025 08:28:50 +0000 (08:28 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Nov 2025 01:30:39 +0000 (17:30 -0800)
commitdbf99dc7d166944df4af1f52351a355512e1c573
treee86a97184a8545113fd50271fb50b6c8ab06ec1f
parentda6e9fd1046f1b936d8dd1db738ffb06f21851c0
net: stmmac: ingenic: use PHY_INTF_SEL_x directly

Use the PHY_INTF_SEL_x values directly in each of the mac_set_mode
methods rather than the driver private MACPHYC_PHY_INFT_x definitions.
Remove the MACPHYC_PHY_INFT_x definitions.

Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vHHpy-0000000Djr7-1R1m@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-ingenic.c