aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2020-02-01 00:51:59 -0300
committerChuanhong Guo <gch981213@gmail.com>2020-03-21 12:58:29 +0800
commit5a326688ea34463348a38089cf31e6f68048589a (patch)
tree263d7ab7e1de3429e498dffc31e0bd0c66de7a87
parent9801d61c4a1f63cd3ca540f88814f195094d8c35 (diff)
downloadupstream-5a326688ea34463348a38089cf31e6f68048589a.tar.gz
upstream-5a326688ea34463348a38089cf31e6f68048589a.tar.bz2
upstream-5a326688ea34463348a38089cf31e6f68048589a.zip
kernel: load rtl8366_smi and rtl8367b 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 <luizluca@gmail.com> [alter commit message] Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rw-r--r--package/kernel/linux/modules/netdevices.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 4b42123339..944fdaec5b 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -323,7 +323,7 @@ define KernelPackage/switch-rtl8366-smi
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
KCONFIG:=CONFIG_RTL8366_SMI
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
- AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
+ AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi,1)
endef
define KernelPackage/switch-rtl8366-smi/description
@@ -371,7 +371,7 @@ define KernelPackage/switch-rtl8367b
DEPENDS:=+kmod-switch-rtl8366-smi
KCONFIG:=CONFIG_RTL8367B_PHY
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367b.ko
- AUTOLOAD:=$(call AutoLoad,43,rtl8367b)
+ AUTOLOAD:=$(call AutoLoad,43,rtl8367b,1)
endef
define KernelPackage/switch-rtl8367b/description