From: Chris Blake Date: Tue, 15 Jun 2021 13:03:05 +0000 (-0500) Subject: kernel/modules: make sure igb loads at boot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f1e41155c98cb5f2e0647e064ec0b3cfbf346e41;p=openwrt%2Fstaging%2Fwigyori.git kernel/modules: make sure igb loads at boot Without loading the igb at boot, the recovery wouldn't have network available. All network drivers should be loaded before etc/board.d/02_network is called. Note that other network drivers already have this set, such as tg3. Fixes: 7e0e5110bc90 ("kernel: add igb kernel module") Signed-off-by: Chris Blake --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 10eb26a7af..b91442748d 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -657,7 +657,7 @@ define KernelPackage/igb CONFIG_IGB_HWMON=y \ CONFIG_IGB_DCA=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igb/igb.ko - AUTOLOAD:=$(call AutoLoad,35,igb) + AUTOLOAD:=$(call AutoLoad,35,igb,1) endef define KernelPackage/igb/description