git: 031d15d12577 - stable/15 - aq(4): Add build infrastructure

Ed Maste <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a68b320.3f4ae.40e07459__23909.5193844818$1785246646$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=031d15d1257708c606491ad5a9b2a6c2f4bca8f8

commit 031d15d1257708c606491ad5a9b2a6c2f4bca8f8
Author:     Ed Maste <[email protected]>
AuthorDate: 2025-11-13 19:05:38 +0000
Commit:     Ed Maste <[email protected]>
CommitDate: 2026-07-28 13:47:00 +0000

    aq(4): Add build infrastructure
    
    Reviewed by:    adrian
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D53839
    
    (cherry picked from commit 75177aebf0397af36b1f28f6b6e64207ec3d8188)
    (cherry picked from commit 7f3da1f800f77150fab2a07ce9cafdca41b29ee9)
---
 sys/conf/files          | 11 +++++++++++
 sys/modules/Makefile    |  2 ++
 sys/modules/aq/Makefile | 12 ++++++++++++
 3 files changed, 25 insertions(+)

diff --git a/sys/conf/files b/sys/conf/files
index 8a7eea3cf144..97c01b26dd55 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -845,6 +845,17 @@ dev/alpm/alpm.c			optional alpm pci
 dev/amdpm/amdpm.c		optional amdpm pci | nfpm pci
 dev/amdsmb/amdsmb.c		optional amdsmb pci
 #
+dev/aq/aq_main.c		optional aq
+dev/aq/aq_media.c		optional aq
+dev/aq/aq_irq.c			optional aq
+dev/aq/aq_ring.c		optional aq
+dev/aq/aq_hw.c			optional aq
+dev/aq/aq_hw_llh.c		optional aq
+dev/aq/aq_fw.c			optional aq
+dev/aq/aq_fw1x.c		optional aq
+dev/aq/aq_fw2x.c		optional aq
+dev/aq/aq_dbg.c			optional aq
+#
 dev/ata/ata_if.m		optional ata | atacore
 dev/ata/ata-all.c		optional ata | atacore
 dev/ata/ata-dma.c		optional ata | atacore
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 799f136546ac..8e58303130fe 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -45,6 +45,7 @@ SUBDIR=	\
 	${_armv8_rng} \
 	${_asmc} \
 	ata \
+	${_aq} \
 	ath \
 	ath_dfs \
 	ath_hal \
@@ -744,6 +745,7 @@ _imx=		imx
 .endif
 
 .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+_aq=		aq
 _agp=		agp
 .if ${MACHINE_CPUARCH} == "i386" || !empty(COMPAT_FREEBSD32_ENABLED)
 _aout=		aout
diff --git a/sys/modules/aq/Makefile b/sys/modules/aq/Makefile
new file mode 100644
index 000000000000..603bb6770ff4
--- /dev/null
+++ b/sys/modules/aq/Makefile
@@ -0,0 +1,12 @@
+.PATH:	${SRCTOP}/sys/dev/aq
+
+KMOD	= if_aq
+SRCS	= aq_main.c aq_media.c aq_irq.c
+SRCS	+= aq_ring.c aq_hw.c aq_hw_llh.c
+SRCS	+= aq_fw.c aq_fw1x.c aq_fw2x.c aq_dbg.c
+SRCS	+= device_if.h bus_if.h pci_if.h
+SRCS	+= ifdi_if.h opt_inet.h opt_inet6.h opt_platform.h opt_rss.h
+SRCS	+= miibus_if.h
+
+.include <bsd.kmod.mk>
+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.