From: Luiz Angelo Daros de Luca Date: Tue, 26 Apr 2022 21:50:08 +0000 (-0300) Subject: kernel: netdevices: load rtl8366rb on boot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1b14e25d2e884fe4dce239f8bc6ac68ee702b4a8;p=openwrt%2Fstaging%2Frmilecki.git kernel: netdevices: load rtl8366rb on boot This external switch driver should be loaded on boot for network support in failsafe mode. Signed-off-by: Luiz Angelo Daros de Luca --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index ff5284276cc..7b8e808e6d6 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -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