]> git.ipfire.org Git - thirdparty/linux.git/commit
net: bcmasp: Divide init to allow partial bring up
authorJustin Chen <justin.chen@broadcom.com>
Wed, 6 May 2026 21:31:13 +0000 (14:31 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 May 2026 23:38:56 +0000 (16:38 -0700)
commite97ffa4e975c303979b54c7bae45a9ec937c5366
tree1cce88d215d6280cf0a2edd0e46af4d22f77e0bd
parentf3fd582d170599a23258be699382c463832cd3ef
net: bcmasp: Divide init to allow partial bring up

To prepare for a partial bring up of the interface during resume,
we break apart the bcmasp_netif_init() function into smaller chunks
that can be called as necessary. Also consolidate some functions that
do not need to be standalone.

Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260506213114.2002886-2-justin.chen@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c