From 831633b5179bbf1c2062fbd7ef0fb6e58009d52c Mon Sep 17 00:00:00 2001 From: Mehdi Ahmadi Date: Fri, 26 Aug 2022 23:56:45 +0200 Subject: [PATCH] kernel: add Aquantia AQtion Atlantic 10Gbps Ethernet Driver support for Aquantia AQtion Atlantic 10Gbps Ethernet NIC with the AQC107, AQC108 and others chipsets found on: - TP-Link: TX401 - Asus: XG-C100C, ROG Areion 10G NIC - & more ... Signed-off-by: Mehdi Ahmadi Reviewed-by: Robert Marko [ fix wrong commit author as requested by author itself ] Signed-off-by: Christian Marangi --- package/kernel/linux/modules/netdevices.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 91bd4a450..3b12fd79d 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1423,3 +1423,19 @@ define KernelPackage/sfc-falcon/description endef $(eval $(call KernelPackage,sfc-falcon)) + +define KernelPackage/atlantic + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Aquantia AQtion 10Gbps Ethernet NIC + DEPENDS:=@PCI_SUPPORT +kmod-ptp +kmod-hwmon-core +kmod-macsec + KCONFIG:=CONFIG_AQTION + FILES:=$(LINUX_DIR)/drivers/net/ethernet/aquantia/atlantic/atlantic.ko + AUTOLOAD:=$(call AutoProbe,atlantic) +endef + +define KernelPackage/atlantic/description + Kernel modules for Aquantia AQtion 10Gbps Ethernet NIC +endef + +$(eval $(call KernelPackage,atlantic)) +