From nobody Wed Dec 3 19:55:15 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 4dM7fD0Gnmz6Hj0p for ; Wed, 03 Dec 2025 19:55:16 +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 4dM7fC4Xgjz46pX for ; Wed, 03 Dec 2025 19:55:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764791715; 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=v3euOSdTJ/8O3tOEsgOGQ1pOhKQd0I6UB5ZoJs55UkI=; b=RKU9c/rzw+Eb2QAYTCGrfEdaazvBHOF89orwoFkVRmAsoM80kaKHc+KLTo0fe83b+Fq7Ru 8BRLDje7PuFc2lEJ8sLG1IAD2Le9fEbTKLlSnlw3dJPLvPXg++nRPioIYmU3TWTEsxQNYI mJlnofcaQaaww/RNLHJEuXiDJyvG2au3qhJ8inpN/bkiBG1E9YU+EWBZ3eG7s6VcbFAdQb RcslDcQQd2xgfm+8vSUwcR7YCm3DJu32VxERaHp6Yb/Y2SaVP99oYaBMh8oyYgT659OZ1F b8CMcWVsTiady5iKQvKklEP+Rj95Dm0xVy/HCBgrTonHv8LXLFOro4qgmpZV6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764791715; 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=v3euOSdTJ/8O3tOEsgOGQ1pOhKQd0I6UB5ZoJs55UkI=; b=lfib9VaOxtWzaNtnWcEzpyDMl80q3a8J8x3sPubuLK2cSwwdJjftpRCno9wRgUu/4vYfLr AMr/sMwZPSt0EaVANZooam7BuNEOxWVnAJH/ctG5Bl//Hs0JN5GXw0QQ79ph3q/ZtFXeLP TAzPm/85rrdeOcZnY/j59PUXTYVwcj+RxY9cusWvcHzpilnuhhGOjdiD0ZYlrrMCScx7L2 BFGkHSog0SzHyqP00TACx5LoJHmbt0+TZ+/Sgbd3obHt+kLdxRMeERQZabn0sQMeDiANKN OpW1U5S7sbJqurV40YuAKmM9K1G8Rrnhv7ce0DeGyi7FgKCopGvlFaCm8Ow4bQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764791715; a=rsa-sha256; cv=none; b=n1mRVRXTvgg4S6hBnWqJ0qpB1naJQkVJkBFZld/U63wVphnE9CrMfHaEBHjWYx22104Ho6 vSZ8Rnldq1OR6/9Z88jynjY8Rby5vMcgqfSL55N3U9bpXjiC9R7djfdhoPH/RBcs9Yd/17 VCyFbzR0/6Lyu7klGPfOS2JV0ssojLB1TzWAq3C4dytE+KipBsKtvyuv2P/AaYbc8JvX7J yeaJ2N7nKsVx8/nJRjPNCcf35qjBDAvtpxbsuwAceuoQm7AxJBpphZ6e2FNNYAOwPfqDjR WeFGBxi3Ihqe0gT383jpQbKLf/dsCi5A04XIvl3/bLE9VkRwVcnmRcARYTxIiA== 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 4dM7fC45l2zsMx for ; Wed, 03 Dec 2025 19:55:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2af13 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 03 Dec 2025 19:55:15 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 87aa494dfca7 - main - mt76: set appropriate CONFIG options for the module build 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87aa494dfca73204516799033821ab1db184933f Auto-Submitted: auto-generated Date: Wed, 03 Dec 2025 19:55:15 +0000 Message-Id: <693095a3.2af13.1060047b@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=87aa494dfca73204516799033821ab1db184933f commit 87aa494dfca73204516799033821ab1db184933f Author: Bjoern A. Zeeb AuthorDate: 2025-11-25 17:16:49 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-12-03 19:54:44 +0000 mt76: set appropriate CONFIG options for the module build Always set CONFIG_ARCH_DMA_ADDR_T_64BIT as it is true for all architectures we support. Add an option for CONFIG_NET_MEDIATEK_SOC_WED, which we currently do not yet support. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/modules/mt76/Makefile.inc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/modules/mt76/Makefile.inc b/sys/modules/mt76/Makefile.inc index 35a8e34f14d3..44aa94c954a8 100644 --- a/sys/modules/mt76/Makefile.inc +++ b/sys/modules/mt76/Makefile.inc @@ -6,11 +6,15 @@ COMMONDIR= ${SRCTOP}/sys/contrib/dev/mediatek/mt76 WITH_CONFIG_PM= 0 WITH_DEBUGFS= 0 +WITH_SOC_WED= 0 # Other SRCS+= ${LINUXKPI_GENSRCS} SRCS+= opt_wlan.h opt_inet6.h opt_inet.h +# This is true for all architectures we build for. +CFLAGS+= -DCONFIG_ARCH_DMA_ADDR_T_64BIT + # Helpful after fresh imports. #CFLAGS+= -ferror-limit=0 @@ -22,8 +26,13 @@ CFLAGS+= -DCONFIG_PM=${WITH_CONFIG_PM} CFLAGS+= -DCONFIG_MAC80211_DEBUGFS=${WITH_DEBUGFS} .endif +.if defined(WITH_SOC_WED) && ${WITH_SOC_WED} > 0 +CFLAGS+= CONFIG_NET_MEDIATEK_SOC_WED +.endif + CFLAGS+= -I${COMMONDIR} CFLAGS+= ${LINUXKPI_INCLUDES} CFLAGS+= -DLINUXKPI_VERSION=61700 + # end