From: Marty Jones Date: Tue, 24 Nov 2020 02:49:10 +0000 (-0500) Subject: kernel: add Aquantia AQtion USB-to-5GbE adapters X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b63e57ba1795dfedd425d5cd6fffdae56274b3d1;p=openwrt%2Fstaging%2Frobimarko.git kernel: add Aquantia AQtion USB-to-5GbE adapters 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 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index eaf9eadb28..81a7f00066 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -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