From nobody Sun Nov 03 16:02:30 2024 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 4XhK9z22ygz5cMZh; Sun, 03 Nov 2024 16:02:31 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhK9y2Wvpz4NDB; Sun, 3 Nov 2024 16:02:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730649750; 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=klRVy2xmA7cxMHpSfLZ1Fcd27TfdB0C0idox7QDe3i8=; b=JtGAaLpWERfMTg+AEXlEAOoplAxxp8ciGKoDcjJckdtNoPW2t4lx1Cr/3ZEs52PQWLCoaA Qxx3geFQYKDJQYxmm+YSRekK4Rso13C3ijwPjIo8Tp8P7JoHoQntMCaxsSrx4OkpTuCaYs UM8nbB/V1vdxq9G3Ip4YCwWHOhCXmzpiof6TienC0xDZYQqYz/LoPsgLcvmfLS9H7NQtjM Eck6VsOxJf94lcHaPeI4VHtdNP2eVVEXtjGDzajEJGiElv82CNxukEYPGFu4FlfPgBGzo5 /NYnYaw3GDdKlJjGDCqqtHuDfmdthR8ph5KHTKYV5Y87d+Gtn3noJRzwzbIYgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730649750; 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=klRVy2xmA7cxMHpSfLZ1Fcd27TfdB0C0idox7QDe3i8=; b=gsfwXhRyKg4LpAsh0wc4t5cbakB6ftjGkIGApKeWT5Rku6FHciTsjFStVjJF8S9G6/33Ge 3afH+4n7Xa6f6ZutVRW++6Gu7yHr9QyCkFxOXD/gh9k2eMrFbfHatMiMY6/1n/wAjb1NRo MheJKhxJPxBxnSNm02/Q7XXlzhQHOUyAIicxVUg2yDBCCx23AOoBusPK0DZY+8HhSnQknR Tr8wzO8FRusK3tedfZImQsyDc1YEVVlHk3RC3lh1TXITlTbr5Cpp3qSJaqebuM3w8sjVxp WOy8Ff7ksIL3mTHuVNKXyWXTx377S9hHpAKz2c0h2sEq0znt+KEhWbb5fqXbZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730649750; a=rsa-sha256; cv=none; b=IKnA7cWFUbZDcoVqTzZdCcPEnrqjIHxoiEuSaeNcIzuA4P5ACfEcDDZM5rL1Q+3185cUu6 yoCDD501muZfha+o2BvpNViB3QldRO7tV9NWJEvi96gjcUZDzMhZZ0nPgh/xrARahFPX+4 WmxCnuUjxksCZz4kZL1ciwD9coRq+BZWI68QJK+Zv9J8nAwdOZ+HUrvRqqDb+UZVYYvdQ3 mst6E4Lbmg+Epk3oUIw37ltEGEfSh7IAJzdbRHLi5DYQLKwfMJA4HmiAhkXxt4HC/AUDiY NrkP5+ck6SigST9So3rAoL2owIJlnpE+Jhf3vwdtHpTsF5a2XNIg65pfYW2W2w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XhK9y1SZGzwQV; Sun, 3 Nov 2024 16:02:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A3G2U66016853; Sun, 3 Nov 2024 16:02:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A3G2Uph016850; Sun, 3 Nov 2024 16:02:30 GMT (envelope-from git) Date: Sun, 3 Nov 2024 16:02:30 GMT Message-Id: <202411031602.4A3G2Uph016850@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: 5a53843aef49 - stable/14 - modules: gpioaei only on ACPI-supporting archs 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: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 5a53843aef490bda32397e80b3fb600e802b461c Auto-Submitted: auto-generated The branch stable/14 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=5a53843aef490bda32397e80b3fb600e802b461c commit 5a53843aef490bda32397e80b3fb600e802b461c Author: Colin Percival AuthorDate: 2024-10-31 22:45:03 +0000 Commit: Colin Percival CommitDate: 2024-11-03 16:01:28 +0000 modules: gpioaei only on ACPI-supporting archs Fixes: 9709bda03cd0 ("GPIO: Add ACPI _AEI support") Pointy-hat to: cperciva Sponsored by: Amazon (cherry picked from commit 6540ac118473dde29cb02f786c79c64f73834ca1) --- sys/modules/gpio/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/modules/gpio/Makefile b/sys/modules/gpio/Makefile index 1d7f69f1836d..66090b1393bf 100644 --- a/sys/modules/gpio/Makefile +++ b/sys/modules/gpio/Makefile @@ -24,10 +24,14 @@ # SUCH DAMAGE. # -SUBDIR = gpioaei gpiobus gpioiic gpioled gpiospi gpioths +SUBDIR = gpiobus gpioiic gpioled gpiospi gpioths .if !empty(OPT_FDT) SUBDIR += gpiokeys gpiopps .endif +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" +SUBDIR += gpioaei +.endif + .include