mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
kernel: modules: add boot flag to igc, mlx4, and mlx5 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> Link: https://github.com/openwrt/openwrt/pull/16560 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
2d6e433e1d
commit
0a47d518df
@ -1558,7 +1558,7 @@ define KernelPackage/mlx4-core
|
|||||||
CONFIG_MLX4_CORE=y \
|
CONFIG_MLX4_CORE=y \
|
||||||
CONFIG_MLX4_CORE_GEN2=y \
|
CONFIG_MLX4_CORE_GEN2=y \
|
||||||
CONFIG_MLX4_DEBUG=n
|
CONFIG_MLX4_DEBUG=n
|
||||||
AUTOLOAD:=$(call AutoProbe,mlx4_core mlx4_en)
|
AUTOLOAD:=$(call AutoLoad,36,mlx4_core mlx4_en,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/mlx4-core/description
|
define KernelPackage/mlx4-core/description
|
||||||
@ -1589,7 +1589,7 @@ define KernelPackage/mlx5-core
|
|||||||
CONFIG_MLX5_TC_CT=n \
|
CONFIG_MLX5_TC_CT=n \
|
||||||
CONFIG_MLX5_TLS=n \
|
CONFIG_MLX5_TLS=n \
|
||||||
CONFIG_MLX5_VFIO_PCI=n
|
CONFIG_MLX5_VFIO_PCI=n
|
||||||
AUTOLOAD:=$(call AutoProbe,mlx5_core)
|
AUTOLOAD:=$(call AutoLoad,36,mlx5_core,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/mlx5-core/description
|
define KernelPackage/mlx5-core/description
|
||||||
@ -1798,7 +1798,7 @@ define KernelPackage/igc
|
|||||||
DEPENDS:=@PCI_SUPPORT +kmod-ptp
|
DEPENDS:=@PCI_SUPPORT +kmod-ptp
|
||||||
KCONFIG:=CONFIG_IGC
|
KCONFIG:=CONFIG_IGC
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igc/igc.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igc/igc.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,igc)
|
AUTOLOAD:=$(call AutoLoad,34,igc,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/igc/description
|
define KernelPackage/igc/description
|
||||||
|
Loading…
Reference in New Issue
Block a user