From: Martin Schiller Date: Wed, 26 Jul 2017 10:02:25 +0000 (+0200) Subject: kernel/modules: add kmod-switch-rtl8306 module X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5609bbabf194a56058afb3e3b7b91a308cb01f05;p=openwrt%2Fstaging%2Fjogo.git kernel/modules: add kmod-switch-rtl8306 module Add kernel module for kmod-switch-rtl8306. Signed-off-by: Florian Eckert Signed-off-by: Martin Schiller --- 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