From nobody Thu Oct 31 22:47:06 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 4XffJC14f6z5b3YS; Thu, 31 Oct 2024 22:47:07 +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 4XffJC06QDz42JJ; Thu, 31 Oct 2024 22:47:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730414827; 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=Grgpsqut66piy3MGmCUrQPsqm95As63sionGrJmiRO8=; b=lbGPMlOBj5kQXHz+JO7tzgjUrNML8gfNu1iJ1S0d6IrtUZCAGjMc4L408wlbT/rBqaiA7A jSlMKcgHEsZRzbwIeHQO6+iyqOiNdqY2pfFLzoECdUQKWHHoa+SiXaNeSZZ2RW0pU5vXkr 4s9zG5/ln/dtkX+CpLmHOvE4kmGcVbq3lemKRvOiaKoZiRPCuz0gu2uuVCXs6aAdnhpK+D LfBjs0ZA++gnRFCNT2ZiZUqWarWxcuQuIpsLdXZYEca5MXDVvF08U5z/K8Y/Pp8wCkSrMH dMV8Xbe3S0hRqNuutbRLxvaYXkhMRCFv2Yusw9zROx7r8eHRhzuMfIt01Wy1jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730414827; 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=Grgpsqut66piy3MGmCUrQPsqm95As63sionGrJmiRO8=; b=pICRgoD9tOYfvf4o8wuaY3R8zbpf528pFQASauWtZPnFDgM+KTWuP4M4OtoDe7kw/LM13p 7zAl0pyDK4xGMUMBCFrcXckm54aK2y+5U1KFev2xQ+PQ45atWGvmU5VvyyviedRdVaI4qi 7UeHInZInqy6+nbq+TiJMfgidh2BHn8BiFBSKcRRJux5B7SqgvoPeKR7lf3VBx7DCnuKfn Hyxlri2D3KJ8QVSD2EIfy+CxL8mrpgC9hvyHTE+FJfe3Jy/OZVGfPiF4AdNSnUy277ZkhH ysy7YciHuduSJgzbB70Zn0MzjYfogLCaZfAIx2UsJdXNXyS/BkKcQQzNvzEZog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730414827; a=rsa-sha256; cv=none; b=uDMT89qqAgylXyEmx038cU8Ym+JmGRXPLeCWh/pXkSINE8pws2QyyuxNha9t6JXyvu63f8 mXTIg8vKtyvzE5FcHC+zFCfqnvcMkdeXFJfGGMPEUJ2dPaRcjfZvN5rRg5GTp5V/Y0zxQL RzhBMi8gCQ/Xb2xwdWukd37dj+jckNs5rxJ1tMJr+aR9slUdnpozK/NkOermFQ2NZ8Yi9t PYh/e/s3ueY8NIXInB2zEr1idn9fcOKbk4+rMfgISOKAd5RnoF5jREwPoSlBJMtlAwx1dc nH5TJLnOxuiKgq6ge7fPV3pMxtjdDSR6DF3oNEXA+zSYHMywHSOSOa2n5YV6XA== 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 4XffJB6qWfzvd0; Thu, 31 Oct 2024 22:47:06 +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 49VMl64K031345; Thu, 31 Oct 2024 22:47:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49VMl6TW031342; Thu, 31 Oct 2024 22:47:06 GMT (envelope-from git) Date: Thu, 31 Oct 2024 22:47:06 GMT Message-Id: <202410312247.49VMl6TW031342@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: 6540ac118473 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 6540ac118473dde29cb02f786c79c64f73834ca1 Auto-Submitted: auto-generated The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=6540ac118473dde29cb02f786c79c64f73834ca1 commit 6540ac118473dde29cb02f786c79c64f73834ca1 Author: Colin Percival AuthorDate: 2024-10-31 22:45:03 +0000 Commit: Colin Percival CommitDate: 2024-10-31 22:45:03 +0000 modules: gpioaei only on ACPI-supporting archs Fixes: 9709bda03cd0 ("GPIO: Add ACPI _AEI support") Pointy-hat to: cperciva Sponsored by: Amazon --- 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