From a9e4d308130ca411b167c81a905695da616d4e4b Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Wed, 25 Mar 2020 19:29:50 +0800 Subject: [PATCH] Kernel Modules/USB Net: add support for Aquantia AQtion USB to 5/2.5GbE Controllers --- package/kernel/linux/modules/usb.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index c678018820..49348dcfc7 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1142,6 +1142,23 @@ define AddDepends/usb-net endef +define KernelPackage/usb-net-aqc111 + TITLE:=Kernel module for Aquantia AQtion USB to 5/2.5GbE Controllers + DEPENDS:=+kmod-libphy + 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 + Kernel module for Aquantia AQtion USB Ethernet adapters + based on AQC111U/AQC112 chips. +endef + +$(eval $(call KernelPackage,usb-net-aqc111)) + + define KernelPackage/usb-net-asix TITLE:=Kernel module for USB-to-Ethernet Asix convertors DEPENDS:=+kmod-libphy