From nobody Sat Oct 4 14:13:41 2025 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cf6vq6qL5z68yZN for ; Sat, 04 Oct 2025 14:13:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cf6vq649Kz41sn for ; Sat, 04 Oct 2025 14:13:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759587223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y5vlhUsn8pDnvb2xc97kGY+w87vsfJpubSgfITcsRjM=; b=IwAKkTBku1HMKZ5BBFkIU3xueTrxy/f69IxCodP+ma8+X8T8rNL/YpHKlI33BsMX3D9vmZ TjtMzZK9uqj/gsCVieSsfGFyHdZii3NYh5cG88JtxWPv52w8wLG5alTFitb9i0xXhXLtIo DydAm1BPkcP5RoggMfvBPqP2DsmoJ0Ty/az5KVs8g/zQYcdxwnNogSvq9Rn+ARZZKWlWZY HIFTAzC7oGCrL8TWVCmlksWX8vrj3C0XwyOjSBYCL9cfSJh/w4Hr8kUhD9AvBfHsGXjbgY iAm69c8kKvJgf39t+0x/JaeF4CZSguCIK0kouMtOSvXDiXu45rtU4s7b5XK/xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759587223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y5vlhUsn8pDnvb2xc97kGY+w87vsfJpubSgfITcsRjM=; b=goMK0qw6P1G2eUX/v8sLycJebk9rVtF4G4u/0iqaHKJq3FDAxem4YsjwnxAez3KYsmRy92 ihYI6NJVhOTuGyt1qOBYA+yjbRF6qw5CezfAzQVBW1nlE8v9bOwUxOSlSMt5EVo8w/oMRr 2Qq2b47p7/QM3MX7dIf1j/gBmqfvl+JgZDe60A993tC+Swe5HGg8HsrMsNvXhrin5wimUy +5vqQ5ghYmF38xGPs/+QZUVgTe+VexyIMo5xjzLz2aOQF8ydcjDbHJaBUIGzUtWIhzu6hI 0e7NzEenAcAhzSFpQIUjrEZWL6LgsVLvyTdCkKO1fWk7tLUhis2bPK6t6thjyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759587223; a=rsa-sha256; cv=none; b=U6PRvTeE1IdqHHZZfwZ8mJ3xzsrkwyAA5ocNpwaPNHTFCe8W52Z3ea0Nw/YAfdYrA6I75D BQVQYtklLfnEDov6Fz7X8+v+8+JdAvxkT8tQ+/wUFKy8OMXBZTr7Y78eLZh0gk6HXZTzUV 069mn2lxzpP0BXBAHqqS6XgFZeXnYT9rvtKpXkeUbDI7MPpFLYYRAX3zn6Tu3YPsSUcr3+ xIzXIw1zsafJhPaXwl3IoPecj2GVlmbU/Jg8u04ahsjbrQ2PD4jcmIfFYnFfoezBJvovv7 yEgoNwCnK9Qw+2cl2nd6mT7xjq/i8Os7npdf/HHjNtmkZeEDxkBSDChFPDzAQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cf6vq5fq8zlmj for ; Sat, 04 Oct 2025 14:13:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 594EDhaT082931 for ; Sat, 4 Oct 2025 14:13:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 594EDhZG082930 for net@FreeBSD.org; Sat, 4 Oct 2025 14:13:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 282805] Support for Aquantia AQC113 and AQC113C Ethernet Controllers Date: Sat, 04 Oct 2025 14:13:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: feature X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tom@kupper.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282805 --- Comment #15 from Thomas Kupper --- 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.=