kmod-fsl-enetc-net kmod-dwmac-imx kmod-fsl-fec kmod-thunderx-net \
kmod-dwmac-rockchip kmod-dwmac-sun8i kmod-phy-aquantia kmod-phy-broadcom \
kmod-phy-marvell kmod-phy-marvell-10g kmod-atlantic \
- kmod-bcmgenet
+ kmod-bcmgenet kmod-octeontx2-net
endef
TARGET_DEVICES += generic
define KernelPackage/thunderx-net
SUBMENU:=$(NETWORK_DEVICES_MENU)
- TITLE:=Marvell (Cavium) ThunderX/2 network drivers
- DEPENDS:=@(TARGET_armsr_armv8) +kmod-phylink
+ TITLE:=Marvell (Cavium) Thunder network drivers
+ DEPENDS:=@(TARGET_armsr_armv8) +kmod-phylink +kmod-of-mdio
KCONFIG:=CONFIG_NET_VENDOR_CAVIUM \
CONFIG_THUNDER_NIC_PF \
CONFIG_THUNDER_NIC_VF \
$(eval $(call KernelPackage,thunderx-net))
+define KernelPackage/octeontx2-net
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Marvell (Cavium) ThunderX2 network drivers
+ DEPENDS:=@(TARGET_armsr_armv8) +kmod-phylink +kmod-of-mdio +kmod-macsec \
+ +kmod-ptp
+ KCONFIG:=CONFIG_OCTEONTX2_MBOX \
+ CONFIG_OCTEONTX2_AF \
+ CONFIG_OCTEONTX2_PF \
+ CONFIG_OCTEONTX2_VF \
+ CONFIG_NDC_DIS_DYNAMIC_CACHING=n
+ FILES=$(LINUX_DIR)/drivers/net/ethernet/marvell/octeontx2/af/rvu_mbox.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/marvell/octeontx2/af/rvu_af.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicpf.ko \
+ $(LINUX_DIR)/drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicvf.ko
+ AUTOLOAD=$(call AutoLoad,40,rvu_af rvu_mbox rvu_nicpf rvu_nicvf)
+endef
+$(eval $(call KernelPackage,octeontx2-net))
+
define KernelPackage/wdt-sp805
SUBMENU:=$(OTHER_MENU)
TITLE:=ARM SP805 Watchdog