[openwrt/openwrt] kernel: netdevices: add rtl8367 module
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 1 11:23:09 PDT 2022
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/96d056f5f0894f492e5a4102d954d54ea7a741d0
commit 96d056f5f0894f492e5a4102d954d54ea7a741d0
Author: Luiz Angelo Daros de Luca <luizluca at gmail.com>
AuthorDate: Tue Apr 26 19:28:34 2022 -0300
kernel: netdevices: add rtl8367 module
Create a package for rtl8367 to use it as loadable module instead of a
builtin one.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca at gmail.com>
---
package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 7b8e808e6d..cc15885148 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -399,6 +399,22 @@ endef
$(eval $(call KernelPackage,switch-rtl8366s))
+define KernelPackage/switch-rtl8367
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Realtek RTL8367 switch support
+ DEPENDS:=+kmod-switch-rtl8366-smi
+ KCONFIG:=CONFIG_RTL8367_PHY
+ FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367.ko
+ AUTOLOAD:=$(call AutoLoad,43,rtl8367,1)
+endef
+
+define KernelPackage/switch-rtl8367/description
+ Realtek RTL8367 switch support
+endef
+
+$(eval $(call KernelPackage,switch-rtl8367))
+
+
define KernelPackage/switch-rtl8367b
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Realtek RTL8367R/B switch support
More information about the lede-commits
mailing list