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>
This commit is contained in:
Martin Schiller 2017-07-26 12:02:25 +02:00 committed by Hauke Mehrtens
parent 32f32398af
commit 5609bbabf1

View File

@ -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