Jelajahi Sumber

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 <[email protected]>
Chris Blake 4 tahun lalu
induk
melakukan
f1e41155c9
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      package/kernel/linux/modules/netdevices.mk

+ 1 - 1
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