From nobody Tue Feb 10 00:46:54 2026 X-Original-To: dev-commits-src-all@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 4f92vL637Sz6R50T for ; Tue, 10 Feb 2026 00:46:54 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f92vL31QXz4GD8 for ; Tue, 10 Feb 2026 00:46:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770684414; 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=QutdJxt6WB4I9gpT0LFyUW5U+gbCHBW87GA/5pcPGH0=; b=vNlspsQ4UZZRlrusFtMCJaaHp24BjVFF+93tnXPAOqKd3pjLr4phzmNbxmw8/HdsWM+OjH 7ng2dY8hXnlMcgxQ47PcpmSw9twOJIlPzI4ZcQaiUhrtiuHgYPKXFF4wbxuMCRWlPko8H5 sRWaU/67vcmRkkvplGcp+CXvc6R3WbH8sBcVcLcXH8+B0jEZUXSwogSRsryOSODoKs1MQz L5vLj2ZDELv+kVLfl9ABl07oKjuF/+gXa6fFOtn0+S89IHml32EJngexrK33riZcDUZzmZ sfOawIpIWypFl/VpXB/ZJ6XB5zBZspG86o0gJ8mputOtHWRQdbkeUKLLnYLJlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770684414; a=rsa-sha256; cv=none; b=rny3gDBr0HnDSNBlL8qpvqdGJyEWksgYUXUcs51ywEQd4x1P3cag6lGN1cjOAxPWqWR40W 1PpeGnIwlnllXmXKzt+DZe65CRlJd4WD1f7vZpW30DOGaKg6uM3sQfA5W9RFNQQ1S7eXie 9yjfbG36q/cTWZKdfpU69GQHySjwi1xPfxmdfO5HEJvdXQlIfv3JqoRwziC2d7opwGOXwR imYLnYsC4WodWzMiiTRQmGFoHFv9KjYGG2nUMH2dg9nbdQtjRvh83Rw2YSgHSUFbrDIREl m2SXpQccxDNoOgyEBCj4Z5Hn6uynkerUe+hQ7GBoGU2AKC44iZKpuSKPhEi+hQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770684414; 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=QutdJxt6WB4I9gpT0LFyUW5U+gbCHBW87GA/5pcPGH0=; b=wGF+sNXR0ouWkzddu1JVIVwQtGzHK1znLRIQX0oHWViHsHJbLuig4woR+sYOlldZeeckCn 9+07uHL3vpCRER4op65x9svgLdh3Tg7yrpBWIVy3D3ezGUgzDZr/58y2ByjOL86r+Vzcdv ltv1lMKo6LvSk6CQtjDXWOOBsJc7kgSgWemvvMbpJH+FP7DoNoessbu5kmXcQoToaVLumk PhmvgysDI+qumhMuUTDfI2OqFPpGUum4Ij1E6YeAfPvbEjUK2HQs8qoSRNEdkioLkIkTkl VK6+YMY3RBsrKCecbaoUVcLa4Vk3qQ/Dl0ltolfPAn6vFixfJnn3eiPXufeGuw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4f92vL2XKHzwHj for ; Tue, 10 Feb 2026 00:46:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 308fb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 10 Feb 2026 00:46:54 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 32efafda3828 - main - ath10k: modules Makefile bus attachments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 32efafda38288848ec71e97eddf085ee0c108109 Auto-Submitted: auto-generated Date: Tue, 10 Feb 2026 00:46:54 +0000 Message-Id: <698a7ffe.308fb.40aa16a7@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=32efafda38288848ec71e97eddf085ee0c108109 commit 32efafda38288848ec71e97eddf085ee0c108109 Author: Bjoern A. Zeeb AuthorDate: 2026-02-07 22:31:59 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-02-09 21:49:46 +0000 ath10k: modules Makefile bus attachments Given USB in theory compiles add it to the Makefile. The upstream support was never finished and I see little chances it ever will be so keep USB disabled by default. MFC after: 3 days --- sys/modules/ath10k/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sys/modules/ath10k/Makefile b/sys/modules/ath10k/Makefile index 93518c66f89f..16f481116357 100644 --- a/sys/modules/ath10k/Makefile +++ b/sys/modules/ath10k/Makefile @@ -2,6 +2,10 @@ DEVATH10KDIR= ${SRCTOP}/sys/contrib/dev/athk/ath10k .PATH: ${DEVATH10KDIR} +# Bus attachments. +WITH_PCI= 1 +WITH_USB= 0 # Never finished upstream, not working. + WITH_CONFIG_FWLOG= 1 WITH_LEDS= 0 @@ -12,7 +16,15 @@ SRCS+= htc.c htt.c htt_rx.c htt_tx.c SRCS+= txrx.c wmi.c wmi-tlv.c SRCS+= p2p.c swap.c +# PCI parts; PCI needs to be compiled into the kernel and cannot be loaded. +.if defined(WITH_PCI) && ${WITH_PCI} > 0 && ${KERN_OPTS:MDEV_PCI} SRCS+= pci.c +.endif + +# USB parts; USB can be loaded and is unconditional on any kernel config. +.if defined(WITH_USB) && ${WITH_USB} > 0 +SRCS+= usb.c +.endif # Other SRCS+= ${LINUXKPI_GENSRCS}