]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: sparx5: move FDMA/XTR initialization out of sparx5_start()
authorDaniel Machon <daniel.machon@microchip.com>
Fri, 27 Feb 2026 14:56:46 +0000 (15:56 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Mar 2026 02:46:22 +0000 (18:46 -0800)
commit8b1e4a6747b8f1bfb835967f57435ebf5e928e37
tree0fe8ce48ad09c493f0f858cd0681f34f361a10cb
parent0432c60112b4fe3ebaf5c2c6bd859b9666233a03
net: sparx5: move FDMA/XTR initialization out of sparx5_start()

Move the Frame DMA and register-based extraction initialization out of
sparx5_start() and into a new sparx5_frame_io_init() function, called
from probe().

Also, add sparx5_frame_io_deinit() for the cleanup path.

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20260227-sparx5-init-deinit-v2-8-10ba54ccf005@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c