kernel: add Aquantia AQtion USB-to-5GbE adapters
authorMarty Jones <mj8263788@gmail.com>
Tue, 24 Nov 2020 02:49:10 +0000 (21:49 -0500)
committerPetr Štetiar <ynezz@true.cz>
Fri, 11 Dec 2020 12:57:04 +0000 (13:57 +0100)
This add support for USB-to-Ethernet Aquantia AQtion
5/2.5GbE adapters based on the AQC111U controllers.

Run-tested: x86
Adapter-tested: Sabrent NT-SS5G
Signed-off-by: Marty Jones <mj8263788@gmail.com>
package/kernel/linux/modules/usb.mk

index eaf9eadb28148fa71d568cb33fbaf1530537169e..81a7f000660a337557fcd9a8284b8ccc53ac4f55 100644 (file)
@@ -1104,6 +1104,21 @@ define AddDepends/usb-net
 endef
 
 
+define KernelPackage/usb-net-aqc111
+  TITLE:=Support for USB-to-Ethernet Aquantia AQtion 5/2.5GbE
+  KCONFIG:=CONFIG_USB_NET_AQC111
+  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/aqc111.ko
+  AUTOLOAD:=$(call AutoProbe,aqc111)
+  $(call AddDepends/usb-net)
+endef
+
+define KernelPackage/usb-net-aqc111/description
+ Support for USB-to-Ethernet Aquantia AQtion 5/2.5GbE
+endef
+
+$(eval $(call KernelPackage,usb-net-aqc111))
+
+
 define KernelPackage/usb-net-asix
   TITLE:=Kernel module for USB-to-Ethernet Asix convertors
   DEPENDS:=+kmod-libphy