]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ftgmac100: Move NCSI probe code into a helper
authorAndrew Lunn <andrew@lunn.ch>
Fri, 6 Feb 2026 03:17:48 +0000 (11:17 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 12:40:50 +0000 (13:40 +0100)
commit7535d70ba0e73ae66df2636cc49bc6396f23520a
tree368b11046dfe8a68c0cf6acdf483c9b00cf8b720
parentd1d8392883bf2e7fdbd308cc1c986ad5072493e4
net: ftgmac100: Move NCSI probe code into a helper

To help reduce the complexity of the probe function, move the NCSI
probe code into a helper.

The refactoring results in improved cleanup of the fixed PHY in
error paths.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-8-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/faraday/ftgmac100.c