diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-09-24 17:40:29 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-24 17:40:29 -0700 |
| commit | 74eecb7c62d10f1feeb0a0d56bed605b7804a51a (patch) | |
| tree | 5881f7fe82a4a6aa11bfc70d50857fdb5ee2b3d9 /rust/helpers/helpers.c | |
| parent | 1d7e08325090045b6b08ecda6f9eaa471d309880 (diff) | |
| parent | 50acea3662bf54f3ea2cb6ca2db66ca3b1a0a0ee (diff) | |
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 <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
