[Bug 282805] Support for Aquantia AQC113 and AQC113C Ethernet Controllers
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Oct 2025 14:13:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282805 --- Comment #15 from Thomas Kupper <tom@kupper.org> --- I have simply added the device ID's and setting the speed capabilities. I wonder if anyone would test the patch on 14.3-RELEASE (15+ doesn't compile). There is no obvious place where there is model specific code, so it may work :) The ID's and speed capabilities are taken from OpenBSD. Repo/branch: https://git.sr.ht/~patient0/FreeBSD-ports/refs/AQC113 and the patch below: Add device IDs and set hardware capabilities for AQC113/113C/113CA/113CS, values taken from OpenBSD --- net/aquantia-atlantic-kmod/Makefile | 2 +- .../files/patch-aq__main.c | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/net/aquantia-atlantic-kmod/Makefile b/net/aquantia-atlantic-kmod/Makefile index 79f736182dbd9eb3385cbed43afa1ffbc8e52973..1807203ddc5fca3e5fa384fbc0a4da58ff25c24b 100644 --- a/net/aquantia-atlantic-kmod/Makefile +++ b/net/aquantia-atlantic-kmod/Makefile @@ -1,6 +1,6 @@ PORTNAME= aquantia-atlantic-kmod PORTVERSION= 0.0.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MAINTAINER= ports@FreeBSD.org diff --git a/net/aquantia-atlantic-kmod/files/patch-aq__main.c b/net/aquantia-atlantic-kmod/files/patch-aq__main.c index dea156a428fa3c5edc2e9ed5278072eabb42ef15..091899f3ddab8befc927b78ead0f35b3710e5115 100644 --- a/net/aquantia-atlantic-kmod/files/patch-aq__main.c +++ b/net/aquantia-atlantic-kmod/files/patch-aq__main.c @@ -13,3 +13,45 @@ MODULE_DEPEND(atlantic, pci, 1, 1, 1); MODULE_DEPEND(atlantic, ether, 1, 1, 1); +--- aq_main.orig 2025-10-04 07:50:15.419816000 +0200 ++++ aq_main.c 2025-10-04 08:37:40.357656000 +0200 +@@ -101,7 +101,12 @@ + #define AQ_DEVICE_ID_AQC109 0x09B1 + #define AQ_DEVICE_ID_AQC111 0x11B1 + #define AQ_DEVICE_ID_AQC112 0x12B1 ++#define AQ_DEVICE_ID_AQC113 0x04c0 + ++#define AQ_DEVICE_ID_AQC113C 0x14c0 ++#define AQ_DEVICE_ID_AQC113CA 0x34c0 ++#define AQ_DEVICE_ID_AQC113CS 0x94c0 ++ + #define AQ_DEVICE_ID_AQC100S 0x80B1 + #define AQ_DEVICE_ID_AQC107S 0x87B1 + #define AQ_DEVICE_ID_AQC108S 0x88B1 +@@ -130,6 +135,11 @@ + PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC111S, "Aquantia AQtion 5Gbit Network Adapter"), + PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC112S, "Aquantia AQtion 2.5Gbit Network Adapter"), + ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113, "Aquantia AQtion 10Gbit Network Adapter"), ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113C, "Aquantia AQtion 10Gbit Network Adapter"), ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113CA, "Aquantia AQtion 10Gbit Network Adapter"), ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113CS, "Aquantia AQtion 10Gbit Network Adapter"), ++ + PVID_END + }; + +@@ -1097,6 +1107,14 @@ + case AQ_DEVICE_ID_AQC112S: + softc->media_type = AQ_MEDIA_TYPE_TP; + softc->link_speeds = AQ_LINK_ALL & ~(AQ_LINK_10G | AQ_LINK_5G); ++ break; ++ ++ case AQ_DEVICE_ID_AQC113: ++ case AQ_DEVICE_ID_AQC113C: ++ case AQ_DEVICE_ID_AQC113CA: ++ case AQ_DEVICE_ID_AQC113CS: ++ softc->media_type = AQ_MEDIA_TYPE_TP; ++ softc->link_speeds = AQ_LINK_ALL; + break; + + default: -- You are receiving this mail because: You are the assignee for the bug.