From owner-svn-src-stable-12@freebsd.org  Mon Sep 16 12:54:45 2019
Return-Path: <owner-svn-src-stable-12@freebsd.org>
Delivered-To: svn-src-stable-12@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74CF81210E9;
 Mon, 16 Sep 2019 12:54:45 +0000 (UTC)
 (envelope-from emaste@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)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 46X5mj2YkWz4ccl;
 Mon, 16 Sep 2019 12:54:45 +0000 (UTC)
 (envelope-from emaste@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3B9C8208F2;
 Mon, 16 Sep 2019 12:54:45 +0000 (UTC)
 (envelope-from emaste@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8GCsjbK063417;
 Mon, 16 Sep 2019 12:54:45 GMT (envelope-from emaste@FreeBSD.org)
Received: (from emaste@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8GCsjC3063416;
 Mon, 16 Sep 2019 12:54:45 GMT (envelope-from emaste@FreeBSD.org)
Message-Id: <201909161254.x8GCsjC3063416@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: emaste set sender to
 emaste@FreeBSD.org using -f
From: Ed Maste <emaste@FreeBSD.org>
Date: Mon, 16 Sep 2019 12:54:45 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject: svn commit: r352390 - stable/12/sys/modules/i2c/controllers/ichiic
X-SVN-Group: stable-12
X-SVN-Commit-Author: emaste
X-SVN-Commit-Paths: stable/12/sys/modules/i2c/controllers/ichiic
X-SVN-Commit-Revision: 352390
X-SVN-Commit-Repository: base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-src-stable-12@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for only the 12-stable src tree
 <svn-src-stable-12.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-stable-12>, 
 <mailto:svn-src-stable-12-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-stable-12/>
List-Post: <mailto:svn-src-stable-12@freebsd.org>
List-Help: <mailto:svn-src-stable-12-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-stable-12>, 
 <mailto:svn-src-stable-12-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2019 12:54:45 -0000

Author: emaste
Date: Mon Sep 16 12:54:44 2019
New Revision: 352390
URL: https://svnweb.freebsd.org/changeset/base/352390

Log:
  MFC r350303: enable ig4_acpi on aarch64
  
  The already-listed APMC0D0F ID belongs to the Ampere eMAG aarch64
  platform, but ACPI support was not even built on aarch64.
  
  Submitted by:	Greg V <greg_unrelenting.technology>

Modified:
  stable/12/sys/modules/i2c/controllers/ichiic/Makefile
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/modules/i2c/controllers/ichiic/Makefile
==============================================================================
--- stable/12/sys/modules/i2c/controllers/ichiic/Makefile	Mon Sep 16 12:51:30 2019	(r352389)
+++ stable/12/sys/modules/i2c/controllers/ichiic/Makefile	Mon Sep 16 12:54:44 2019	(r352390)
@@ -6,7 +6,8 @@ SRCS		= acpi_if.h device_if.h bus_if.h iicbus_if.h pci
 		  smbus_if.h ${ig4_acpi} ig4_iic.c ig4_pci.c ig4_reg.h \
 		  ig4_var.h opt_acpi.h
 
-.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
+    ${MACHINE_CPUARCH} == "i386"
 ig4_acpi=	ig4_acpi.c
 .endif