From nobody Thu Dec 11 02:35:46 2025 X-Original-To: dev-commits-src-main@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 4dRcCD2DBkz6K8Cx for ; Thu, 11 Dec 2025 02:35:52 +0000 (UTC) (envelope-from git@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 4dRcCD0LVMz3wwB for ; Thu, 11 Dec 2025 02:35:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765420552; 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; bh=pDONF7BjXoSBg0RTFDm/6EYljPb6QUi4TRDVUioOqLU=; b=tUF5Xh6WU5t6GYyMQ3svBgS+AhjW/jfndHGvedkOGVu0a2+DUXd9w1y2rRek74p52Xm0KU WMKNTIkcedWlW7q8e3Z2ZUG7Fd2f7jVJEeTLWxeVQJe91Lh2ykNpJcrESxpgGu+/U0OcPJ Pdz+KGX1kiyevKcHgImT2lbo85t/v694wg+1ujSJ0gceVGlfSY1tutBDjQfrYO/BIZKy1V XEwMWJOpCbXZRrwKGMcwfcELGm9cthF9nrNDWQFMOfHPl6pBDVTTJnCF+dJxxf5OH7TkKr houUJ4MZwpvEXDy6IXPJ6cWHhHnEXXQHK9sbgk+Umo5xQkomFzerehwhqLknxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765420552; 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; bh=pDONF7BjXoSBg0RTFDm/6EYljPb6QUi4TRDVUioOqLU=; b=ls0t8xD4G4n9CNwP23qAXaA0FO/LJHmnY3hUtyyeZnZPiRc5QA6MKQkNT+hgT6NX/ti6cu TwNLxcj5Gt2mCJsHN/oPHR4xaRlb/HH5l2eCLU+lfaTYsNJ+OrMHkzUi3D3qVU4dQCQb37 t3FUGA4bgvUcQI0LzppDpxdKFkxaACCRFOXBaXdLReLqYWfX61G/1/XYy7+GUFJ7QY7Bow 8py2gvVNTv91XiEjLVcKFUR8uPoFIs3jkJRkg7NiT6GXpb4R6Ut/T7j9cssOmQMQ6ZpL1c ulPX5Zx27bltWLhfi+4AEi468g/5pESwuUaSNOcaCbV0TbjMzy9/aWaLf2v/UQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765420552; a=rsa-sha256; cv=none; b=OUFh7EYePGNfe46SIxI3sHnJ0AIkATQGcCVNt7oG77HNxoPX+SNvPE1oSRr3I/EgSDx5rc iGAYNMfMhNFfU5Xmjb9GOy0VMZTDRIlGUBzs5A2g8I/RUv8l8UXPJdY7S5whoAusG5hecq IqrpAurvgqoidnLwiENykgUiVsDHliLNaFyMBIPZqMXYJjm23dsSgUVzQguZHslUixU/Tm fGt0AoiVqfd6oREp8LipzqjbH+F1DJumxZG1wvcWM3QJLwschzCggMuHFbSx7Y91A9lcxq 73QnmyQKhRidrOkuDvCcYYwoiwICEcTKDJ3kTMgfbm8D4Pbp8zitKed6cq4LZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dRcC66xKtz1BHN for ; Thu, 11 Dec 2025 02:35:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 318dc by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 11 Dec 2025 02:35:46 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: d2850435f18c - main - aq(4): Use sys, not userland, headers List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d2850435f18c81479f79bd23ea8d4b997dbc0521 Auto-Submitted: auto-generated Date: Thu, 11 Dec 2025 02:35:46 +0000 Message-Id: <693a2e02.318dc.3facb64@gitrepo.freebsd.org> The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=d2850435f18c81479f79bd23ea8d4b997dbc0521 commit d2850435f18c81479f79bd23ea8d4b997dbc0521 Author: Ed Maste AuthorDate: 2025-11-13 19:05:08 +0000 Commit: Ed Maste CommitDate: 2025-12-11 02:35:06 +0000 aq(4): Use sys, not userland, headers And remove some unused definitions. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54152 --- sys/dev/aq/aq_common.h | 8 +------- sys/dev/aq/aq_dbg.h | 2 +- sys/dev/aq/aq_fw.c | 2 +- sys/dev/aq/aq_fw1x.c | 2 +- sys/dev/aq/aq_fw2x.c | 2 +- sys/dev/aq/aq_hw.h | 1 - 6 files changed, 5 insertions(+), 12 deletions(-) diff --git a/sys/dev/aq/aq_common.h b/sys/dev/aq/aq_common.h index b123a7e6807d..17dcc5f23fb1 100644 --- a/sys/dev/aq/aq_common.h +++ b/sys/dev/aq/aq_common.h @@ -35,14 +35,10 @@ #ifndef _AQ_COMMON_H_ #define _AQ_COMMON_H_ -#include +#include #define ETH_MAC_LEN 6 -/* Types definition */ -#define TRUE 1 -#define FALSE 0 - #define s8 __int8_t #define u8 __uint8_t #define u16 __uint16_t @@ -51,7 +47,6 @@ #define u64 __uint64_t #define s64 __int64_t #define s32 int -typedef __uint32_t DWORD; #define ETIME ETIMEDOUT #define EOK 0 @@ -77,7 +72,6 @@ typedef __uint32_t DWORD; } while (0) -#define LODWORD(a) ((DWORD)(a)) #define LOWORD(a) ((u16)(a)) #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) diff --git a/sys/dev/aq/aq_dbg.h b/sys/dev/aq/aq_dbg.h index bb786bf0adc6..8d02f483b2f7 100644 --- a/sys/dev/aq/aq_dbg.h +++ b/sys/dev/aq/aq_dbg.h @@ -38,7 +38,7 @@ #ifndef AQ_DBG_H #define AQ_DBG_H -#include +#include #include /* Debug levels: diff --git a/sys/dev/aq/aq_fw.c b/sys/dev/aq/aq_fw.c index 619a3048cc28..3596074dbafc 100644 --- a/sys/dev/aq/aq_fw.c +++ b/sys/dev/aq/aq_fw.c @@ -39,7 +39,7 @@ #include __FBSDID("$FreeBSD$"); -#include +#include #include "aq_common.h" diff --git a/sys/dev/aq/aq_fw1x.c b/sys/dev/aq/aq_fw1x.c index 97bbbfc5e335..02b3f649201c 100644 --- a/sys/dev/aq/aq_fw1x.c +++ b/sys/dev/aq/aq_fw1x.c @@ -35,7 +35,7 @@ #include __FBSDID("$FreeBSD$"); -#include +#include #include "aq_common.h" #include "aq_hw.h" diff --git a/sys/dev/aq/aq_fw2x.c b/sys/dev/aq/aq_fw2x.c index c76a0342c3f2..b532977b748f 100644 --- a/sys/dev/aq/aq_fw2x.c +++ b/sys/dev/aq/aq_fw2x.c @@ -38,7 +38,7 @@ #include __FBSDID("$FreeBSD$"); -#include +#include #include "aq_common.h" diff --git a/sys/dev/aq/aq_hw.h b/sys/dev/aq/aq_hw.h index bf7f2896c7ca..97744de118b8 100644 --- a/sys/dev/aq/aq_hw.h +++ b/sys/dev/aq/aq_hw.h @@ -35,7 +35,6 @@ #ifndef _AQ_HW_H_ #define _AQ_HW_H_ -#include #include #include #include