mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
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:
parent
575ec7a4b1
commit
96d056f5f0
@ -399,6 +399,22 @@ endef
|
|||||||
$(eval $(call KernelPackage,switch-rtl8366s))
|
$(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
|
define KernelPackage/switch-rtl8367b
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Realtek RTL8367R/B switch support
|
TITLE:=Realtek RTL8367R/B switch support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user