[openwrt/openwrt] kernel/modules: make sure igb loads at boot

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 21 11:38:48 PDT 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f1e41155c98cb5f2e0647e064ec0b3cfbf346e41

commit f1e41155c98cb5f2e0647e064ec0b3cfbf346e41
Author: Chris Blake <chrisrblake93 at gmail.com>
AuthorDate: Tue Jun 15 08:03:05 2021 -0500

    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 <chrisrblake93 at gmail.com>
---
 package/kernel/linux/modules/netdevices.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the lede-commits mailing list