[source] kernel/modules: add kmod-switch-rtl8367b

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 18 01:14:45 PST 2016


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/4545a60edb63ad61baf9903de7cf69f4d4f0b152

commit 4545a60edb63ad61baf9903de7cf69f4d4f0b152
Author: Vitaly Chekryzhev <13hakta at gmail.com>
AuthorDate: Sat Oct 29 17:28:05 2016 +0500

    kernel/modules: add kmod-switch-rtl8367b
    
    Add build option for RTL8367R/VB switches.
    
    Signed-off-by: Vitaly Chekryzhev <13hakta 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 1ee5801..787dd40 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -272,6 +272,22 @@ endef
 $(eval $(call KernelPackage,switch-rtl8366s))
 
 
+define KernelPackage/switch-rtl8367b
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=Realtek RTL8367R/B switch support
+  DEPENDS:=+kmod-switch-rtl8366-smi
+  KCONFIG:=CONFIG_RTL8367B_PHY
+  FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367b.ko
+  AUTOLOAD:=$(call AutoLoad,43,rtl8367b)
+endef
+
+define KernelPackage/switch-rtl8367b/description
+ Realtek RTL8367R/B switch support
+endef
+
+$(eval $(call KernelPackage,switch-rtl8367b))
+
+
 define KernelPackage/natsemi
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=National Semiconductor DP8381x series



More information about the lede-commits mailing list