Skip to content

Commit

Permalink
kernel: netdevices: add rtl8367 module
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
luizluca authored and Ansuel committed Jul 1, 2022
1 parent 575ec7a commit 96d056f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions package/kernel/linux/modules/netdevices.mk
Expand Up @@ -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
Expand Down

0 comments on commit 96d056f

Please sign in to comment.