kernel: netdevices: add rtl8367 module

Create a package for rtl8367 to use it as loadable module instead of a
builtin one.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
This commit is contained in:
Luiz Angelo Daros de Luca 2022-04-26 19:28:34 -03:00 committed by Christian Marangi
parent 575ec7a4b1
commit 96d056f5f0
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -399,6 +399,22 @@ endef
$(eval $(call KernelPackage,switch-rtl8366s))
define KernelPackage/switch-rtl8367
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Realtek RTL8367 switch support
DEPENDS:=+kmod-switch-rtl8366-smi
KCONFIG:=CONFIG_RTL8367_PHY
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367.ko
AUTOLOAD:=$(call AutoLoad,43,rtl8367,1)
endef
define KernelPackage/switch-rtl8367/description
Realtek RTL8367 switch support
endef
$(eval $(call KernelPackage,switch-rtl8367))
define KernelPackage/switch-rtl8367b
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Realtek RTL8367R/B switch support