mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
armsr: armv8: package and select MDIO driver for Thunder SoC's
This MDIO driver was already being built, but not installed due
to being selected by the ThunderX Ethernet driver.
Signed-off-by: Mathew McBride <matt@traverse.com.au>
(cherry picked from commit 0018b33531
)
This commit is contained in:
parent
2a46bd9a01
commit
3c316f3e24
@ -266,10 +266,22 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,dwmac-rockchip))
|
$(eval $(call KernelPackage,dwmac-rockchip))
|
||||||
|
|
||||||
|
define KernelPackage/mdio-thunder
|
||||||
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
|
TITLE:=Marvell (Cavium) Thunder MDIO controller
|
||||||
|
DEPENDS:=@(TARGET_armsr_armv8) +kmod-of-mdio
|
||||||
|
KCONFIG:=CONFIG_MDIO_THUNDER
|
||||||
|
FILES=$(LINUX_DIR)/drivers/net/mdio/mdio-cavium.ko \
|
||||||
|
$(LINUX_DIR)/drivers/net/mdio/mdio-thunder.ko
|
||||||
|
AUTOLOAD=$(call AutoLoad,30,mdio-cavium mdio-thunder)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,mdio-thunder))
|
||||||
|
|
||||||
define KernelPackage/thunderx-net
|
define KernelPackage/thunderx-net
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Marvell (Cavium) Thunder network drivers
|
TITLE:=Marvell (Cavium) Thunder network drivers
|
||||||
DEPENDS:=@(TARGET_armsr_armv8) +kmod-phylink +kmod-of-mdio
|
DEPENDS:=@(TARGET_armsr_armv8) +kmod-phylink +kmod-mdio-thunder
|
||||||
KCONFIG:=CONFIG_NET_VENDOR_CAVIUM \
|
KCONFIG:=CONFIG_NET_VENDOR_CAVIUM \
|
||||||
CONFIG_THUNDER_NIC_PF \
|
CONFIG_THUNDER_NIC_PF \
|
||||||
CONFIG_THUNDER_NIC_VF \
|
CONFIG_THUNDER_NIC_VF \
|
||||||
|
Loading…
Reference in New Issue
Block a user