From nobody Mon Dec 8 15:44:22 2025 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 4dQ5rR2Gckz6K09G for ; Mon, 08 Dec 2025 15:44:23 +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 4dQ5rQ74fcz447y for ; Mon, 08 Dec 2025 15:44:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765208663; 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=mqu6wktXJq8YGlaW8NVUkKklocO7n+PnWDQ+ZO826nk=; b=jz3uY7Wy/E9wFBh2lAainPetxyy9Nkd8n02F8NNK0+BAFbyxdRZqS2ztWe/tfJjUY+vpwM 3/1g5TEKPRNSz8XJnq1cKEbUSteGp+vkg22K8oscGX6Rp2H2xkyuaSRX7f5GEt6+AVyeyj ENh3bfXncM37M7ZD9CC3grjADXu+1r3oTck8yyaxdRJ3hITZLrHVDpQuBysADQD4ZpO7VV vWiN9z+EcvSP6jGi778/A+LaXHsr8VjEJhe1P6O7nfhjdn4kYj+U7w2pfFYmyaGor54HPZ HrEA0CigrF24OKiISjPnCIDuJli3JCH7eherTdz/yPvoGNX6/hjZ1DYDo4sdAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765208663; 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=mqu6wktXJq8YGlaW8NVUkKklocO7n+PnWDQ+ZO826nk=; b=eoNB6qDm0A5BgtULk9zVI4A0GdWAGBff2+l5DZHDy1ZJwvlBqGPS/9XHjkuKs6p0EtdCW/ bJrrHikCK79jn/zNs5Q6dUZng3pu12aEEl6WhpS4Y3V3Yc8tgmx5dNbkI9qZ3V6+XpKZIa 5XoRdPLWuVvzOV3lE+fs3nPmKqqvl7xJcNWEzJsafZBWlaID+807zCTfWyyHrwfCY9WaE6 TD1K5kq+Q19H9mT/A0QhkJB+dbOLPuDi9fVZLSvUkuMaEB5BPe9ip5dF2d9hF1oyxPv6oX epr2/IFX2tN36iYTsk6bIIBU05T4sa8GBoK+Q2d1i9Y+NoOEMbI6FlhEiIl3mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765208663; a=rsa-sha256; cv=none; b=oBzXUT2luMQSh3EIn8/vyPP/tLCuI2WWfYMCrKkzaiQoIPku79y96qXSv6zTwo6PcSharW BCjfJjA0B5yEsXbfWfU4ZqGlb2qkfkRM2JfrAVczPL9LofEkah5pcDfEz0z+aca3fyl9Lk rdfoaX2EkeZNY6wq4c2xiRTiZ8nJC0j11WR1GUc9am5sVwWCxuq2B+IEOESr7fQGS0eRNf R0eWoSrsIlw7/vbloUyZmVvQnhdHW+20thj2GnQsAs763FXqd5Z+7ZmIlK/iH6SzMfOUtZ 25traof4h9nhkgi3vGd39imSquClLHi8EH86i6k3HVRH1LEzIbqYR+gdHiKQuQ== 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 4dQ5rQ6fTgz3hd for ; Mon, 08 Dec 2025 15:44:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 37aaf by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 08 Dec 2025 15:44:22 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: e2ebe56c50e7 - stable/15 - mt76: set appropriate CONFIG options for the module build 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/stable/15 X-Git-Reftype: branch X-Git-Commit: e2ebe56c50e77f3302c85a8203f8fa4050ae0f54 Auto-Submitted: auto-generated Date: Mon, 08 Dec 2025 15:44:22 +0000 Message-Id: <6936f256.37aaf.6bb26b9f@gitrepo.freebsd.org> The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=e2ebe56c50e77f3302c85a8203f8fa4050ae0f54 commit e2ebe56c50e77f3302c85a8203f8fa4050ae0f54 Author: Bjoern A. Zeeb AuthorDate: 2025-11-25 17:16:49 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-12-08 15:43:53 +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 (cherry picked from commit 87aa494dfca73204516799033821ab1db184933f) --- 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