kernel: netdevices: load rtl8366rb on boot
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Tue, 26 Apr 2022 21:50:08 +0000 (18:50 -0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 1 Jul 2022 18:22:51 +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 ff5284276cc8afa08986a2a5837b8d18d24a76b9..7b8e808e6d6b547d2505ccd2f62820828d35a02c 100644 (file)
@@ -373,7 +373,7 @@ define KernelPackage/switch-rtl8366rb
   DEPENDS:=+kmod-switch-rtl8366-smi
   KCONFIG:=CONFIG_RTL8366RB_PHY
   FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
-  AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
+  AUTOLOAD:=$(call AutoLoad,43,rtl8366rb,1)
 endef
 
 define KernelPackage/switch-rtl8366rb/description