kernel: netdevices: load rtl8366s on boot
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Wed, 27 Apr 2022 17:55:52 +0000 (14:55 -0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 1 Jul 2022 18:22:52 +0000 (20:22 +0200)
This external switch driver should be loaded on boot for network
support in failsafe mode.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
package/kernel/linux/modules/netdevices.mk

index cc1588514892bf9d4773ec5fa7afa43ebf31e478..2e81835fe16434f8d84851cd094f9b4240d39ea3 100644 (file)
@@ -389,7 +389,7 @@ define KernelPackage/switch-rtl8366s
   DEPENDS:=+kmod-switch-rtl8366-smi
   KCONFIG:=CONFIG_RTL8366S_PHY
   FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
-  AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
+  AUTOLOAD:=$(call AutoLoad,43,rtl8366s,1)
 endef
 
 define KernelPackage/switch-rtl8366s/description