From: Jakub Kicinski Date: Thu, 25 Sep 2025 00:40:29 +0000 (-0700) Subject: Merge branch 'net-stmmac-yet-more-cleanups' X-Git-Tag: v6.18-rc1~132^2~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74eecb7c62d10f1feeb0a0d56bed605b7804a51a;p=thirdparty%2Flinux.git Merge branch 'net-stmmac-yet-more-cleanups' Russell King says: ==================== net: stmmac: yet more cleanups Building on the previous cleanup series, this cleans up yet more stmmac code. - Move stmmac_bus_clks_config() into stmmac_platform() which is where its onlny user is. - Move the xpcs Clause 73 test into stmmac_init_phy(), resulting in simpler code in __stmmac_open(). - Move "can't attach PHY" error message into stmmac_init_phy(). We then start moving stuff out of __stmac_open() into stmmac_open() (and correspondingly __stmmac_release() into stmmac_release()) which is not necessary when re-initialising the interface on e.g. MTU change. - Move initialisation of tx_lpi_timer - Move PHY attachment/detachment - Move PHY error message into stmmac_init_phy() Finally, simplfy the paths in stmmac_init_phy(). ==================== Link: https://patch.msgid.link/aNKDqqI7aLsuDD52@shell.armlinux.org.uk Signed-off-by: Jakub Kicinski --- 74eecb7c62d10f1feeb0a0d56bed605b7804a51a