kernel: modules: add boot flag to igc, mlx4/5 drivers

Set the boot flag for the igc, mlx4-core, and mlx5-core network device drivers
to load them at a more early stage of the boot process.

This is required for network drivers whose network interface PCI paths are set
via ucidef_set_network_device_path inside the 02_network script since it is
called after kernel modules are loaded from modules-boot.d but before they are
loaded from the modules.d directory.

Signed-off-by: Til Kaiser <mail@tk154.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Til Kaiser 2024-09-29 16:54:54 +02:00
parent dd5c39cbab
commit 55afdb73c6

View File

@ -1511,7 +1511,7 @@ define KernelPackage/mlx4-core
CONFIG_MLX4_CORE=y \
CONFIG_MLX4_CORE_GEN2=y \
CONFIG_MLX4_DEBUG=n
AUTOLOAD:=$(call AutoProbe,mlx4_core mlx4_en)
AUTOLOAD:=$(call AutoLoad,36,mlx4_core mlx4_en,1)
endef
define KernelPackage/mlx4-core/description
@ -1542,7 +1542,7 @@ define KernelPackage/mlx5-core
CONFIG_MLX5_TC_CT=n \
CONFIG_MLX5_TLS=n \
CONFIG_MLX5_VFIO_PCI=n
AUTOLOAD:=$(call AutoProbe,mlx5_core)
AUTOLOAD:=$(call AutoLoad,36,mlx5_core,1)
endef
define KernelPackage/mlx5-core/description
@ -1750,7 +1750,7 @@ define KernelPackage/igc
DEPENDS:=@PCI_SUPPORT +kmod-ptp
KCONFIG:=CONFIG_IGC
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igc/igc.ko
AUTOLOAD:=$(call AutoLoad,35,igc)
AUTOLOAD:=$(call AutoLoad,34,igc,1)
endef
define KernelPackage/igc/description