Date: Sat, 04 Oct 2025 14:13:41 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 282805] Support for Aquantia AQC113 and AQC113C Ethernet Controllers Message-ID: <bug-282805-7501-vbUkbmTRQR@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-282805-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-282805-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282805 --- 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 wor= k :) 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..1807203ddc5fca3e5fa384fbc0a4da58f= f25c24b 100644 --- a/net/aquantia-atlantic-kmod/Makefile +++ b/net/aquantia-atlantic-kmod/Makefile @@ -1,6 +1,6 @@ PORTNAME=3D aquantia-atlantic-kmod PORTVERSION=3D 0.0.5 -PORTREVISION=3D 3 +PORTREVISION=3D 4 CATEGORIES=3D net MAINTAINER=3D 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..091899f3ddab8befc927b78ead0f35b37= 10e5115 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 +=20 ++#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 5Gb= it Network Adapter"), + PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC112S, "Aquantia AQtion 2.5= Gbit Network Adapter"), +=20 ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113, "Aquantia AQtion 10Gb= it Network Adapter"), ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113C, "Aquantia AQtion 10G= bit Network Adapter"), ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113CA, "Aquantia AQtion 10= Gbit Network Adapter"), ++ PVID(AQUANTIA_VENDOR_ID, AQ_DEVICE_ID_AQC113CS, "Aquantia AQtion 10= Gbit Network Adapter"), ++ + PVID_END + }; +=20 +@@ -1097,6 +1107,14 @@ + case AQ_DEVICE_ID_AQC112S: + softc->media_type =3D AQ_MEDIA_TYPE_TP; + softc->link_speeds =3D AQ_LINK_ALL & ~(AQ_LINK_10G | AQ_LIN= K_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 =3D AQ_MEDIA_TYPE_TP; ++ softc->link_speeds =3D AQ_LINK_ALL; + break; +=20 + default: --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282805-7501-vbUkbmTRQR>
