aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/netdevices.mk
diff options
context:
space:
mode:
authorVitaly Chekryzhev <13hakta@gmail.com>2016-10-29 17:28:05 +0500
committerMathias Kresin <dev@kresin.me>2016-11-17 20:01:21 +0100
commit4545a60edb63ad61baf9903de7cf69f4d4f0b152 (patch)
treea81959cc1b28c806ce81bb4e729e74071af55a6e /package/kernel/linux/modules/netdevices.mk
parent5f38d1ad85044fa14aa18254f0a2b49ae651ec16 (diff)
downloadupstream-4545a60edb63ad61baf9903de7cf69f4d4f0b152.tar.gz
upstream-4545a60edb63ad61baf9903de7cf69f4d4f0b152.tar.bz2
upstream-4545a60edb63ad61baf9903de7cf69f4d4f0b152.zip
kernel/modules: add kmod-switch-rtl8367b
Add build option for RTL8367R/VB switches. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r--package/kernel/linux/modules/netdevices.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 1ee5801130..787dd40efc 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