From nobody Sun Nov 03 16:16:57 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 4XhKVf0vrdz5cP0M; Sun, 03 Nov 2024 16:16:58 +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 4XhKVd5yp6z4SDr; Sun, 3 Nov 2024 16:16:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730650617; 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=pk5BGfDxfCOL4c2jgJRwxIdWiTPo3ckH7j7RpYc8MqA=; b=sXpfU4ws/ODEZaXjPRN3eaFNWovvpAPE34vmHz+QvE1gXX9e5TSC+9bQ9kRMEwZ5eHmmDt PbPlaHWqCBzR6F4hQDd2/FEvYRJFbqcm7395v4+pnEvaOZtOYyMS1KaOW616Oq9uEXdHjD h/1F1qNsjC3V9M4hj9o2Ou0tWQ4KxOEM0JH2vhjA9+8h5Y/KpquX/LTcvYD5YCW1FjvvbR vV4rehlqo14rgoqdwWFAldeETpWGP5YTc9ilGE4emcM48AQ7/g2QJHGFKWKQYw6a0KLpJM raQ1tHpsgvgfhMNWn/4/jIi+9BLIlvEWU1tPVqa32pjSoX11DEVA0PhEV51jkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730650617; 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=pk5BGfDxfCOL4c2jgJRwxIdWiTPo3ckH7j7RpYc8MqA=; b=TkAIm3du3fTeYDnWkeM7qa/XfhfRIDOxyvaGAFXPgR904t74bUxWW1kZfBDLILJ2FvwVqY ZBzom+1F4Kv/kU+mbCdSBjivILvKP9qls7OeGZlbznqQdmjSaGkNTONBbcvx85VVDBOJnv yYw3VkxD10INJvxzPajbMuQgaKPYybGkqqgDVSKBdIyykspRvGje1jRguAXImSJgnpVFzv sS3VBAbN9/F48pei5eRj6a0HHptxV4lS5VgLo7R371cUCPgGK2emyLvcG3nTg36oZP3C9b ijcF/OwWQRX4lGa6wD109vJFqOcXypgQSme4Ib95lIknDaPwNsoRgiGEWkLvQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730650617; a=rsa-sha256; cv=none; b=UZFa/0AvXXnLHSAlvazP1u/NG19WnuI2AJYhcfSytOBPG2Lksy4pomKJ3zkgw+syml4Jk6 3cYfFbzKRwZC7mkpYN3CJ94k9/Lhb6BZM589cm0YmkbzORk7r7wE83o5tya1eBeL6HzGp/ MZ8GBXHoVCFkN6qhtb7FSHI/dgEOC9HzraZWWKsZ286O6Mr3n50Z6oql6HlBfhFPTYz3GW HX6uMGem/aD/+wmIqCFP+MKhhHWe9qG65B214c9a0mx1WkWFJrdsgEn+nitQEb4CcImdaM sWdmn0xL/+xsXObvkeWI1mJlqUI6qATOEc82QEhiLrseG0fQOnvETsk3IIH7sw== 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 4XhKVd5b3Zzw7t; Sun, 3 Nov 2024 16:16:57 +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 4A3GGvbl036674; Sun, 3 Nov 2024 16:16:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A3GGvIQ036671; Sun, 3 Nov 2024 16:16:57 GMT (envelope-from git) Date: Sun, 3 Nov 2024 16:16:57 GMT Message-Id: <202411031616.4A3GGvIQ036671@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: 3166167784b9 - releng/14.2 - 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/releng/14.2 X-Git-Reftype: branch X-Git-Commit: 3166167784b93f6faaf4fe07f3154c76a6321d47 Auto-Submitted: auto-generated The branch releng/14.2 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=3166167784b93f6faaf4fe07f3154c76a6321d47 commit 3166167784b93f6faaf4fe07f3154c76a6321d47 Author: Colin Percival AuthorDate: 2024-10-31 22:45:03 +0000 Commit: Colin Percival CommitDate: 2024-11-03 16:15:45 +0000 modules: gpioaei only on ACPI-supporting archs Approved by: re (kib) Fixes: 9709bda03cd0 ("GPIO: Add ACPI _AEI support") Pointy-hat to: cperciva Sponsored by: Amazon (cherry picked from commit 6540ac118473dde29cb02f786c79c64f73834ca1) (cherry picked from commit 5a53843aef490bda32397e80b3fb600e802b461c) --- 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