aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2017-07-26 12:02:25 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-06-09 22:39:17 +0200
commit5609bbabf194a56058afb3e3b7b91a308cb01f05 (patch)
treeaa73989f36c3bd9781b70eacfcd0d1a3e692fdf1 /package/kernel/linux
parent32f32398af976e38de4b656dfe4fc49b98b038ea (diff)
downloadupstream-5609bbabf194a56058afb3e3b7b91a308cb01f05.tar.gz
upstream-5609bbabf194a56058afb3e3b7b91a308cb01f05.tar.bz2
upstream-5609bbabf194a56058afb3e3b7b91a308cb01f05.zip
kernel/modules: add kmod-switch-rtl8306 module
Add kernel module for kmod-switch-rtl8306. Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'package/kernel/linux')
-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 372cb47c60..aa28c8e7b9 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -226,6 +226,22 @@ endef
$(eval $(call KernelPackage,switch-ip17xx))
+define KernelPackage/switch-rtl8306
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Realtek RTL8306S switch support
+ DEPENDS:=+kmod-swconfig
+ KCONFIG:=CONFIG_RTL8306_PHY
+ FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8306.ko
+ AUTOLOAD:=$(call AutoLoad,43,rtl8306)
+endef
+
+define KernelPackage/switch-rtl8306/description
+ Realtek RTL8306S switch support
+endef
+
+$(eval $(call KernelPackage,switch-rtl8306))
+
+
define KernelPackage/switch-rtl8366-smi
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Realtek RTL8366 SMI switch interface support