diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-09-23 12:26:19 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-24 17:40:23 -0700 |
| commit | db299a0c09e98e5fc7e7b181d7f2b94560330a8c (patch) | |
| tree | 27a2447e47087a08eb85e633742d8bcbdefb0a09 /rust/helpers/helpers.c | |
| parent | bae62989a31bde4018dc007b01d7cb408ccc91d7 (diff) | |
net: stmmac: move PHY handling out of __stmmac_open()/release()
Move the PHY attachment/detachment from the network driver out of
__stmmac_open() and __stmmac_release() into stmmac_open() and
stmmac_release() where these actions will only happen when the
interface is administratively brought up or down. It does not make
sense to detach and re-attach the PHY during a change of MTU.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1v11A3-0000000774G-3PKY@rmk-PC.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
