Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2019 21:26:18 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350303 - head/sys/modules/i2c/controllers/ichiic
Message-ID:  <201907242126.x6OLQIwo080123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Jul 24 21:26:17 2019
New Revision: 350303
URL: https://svnweb.freebsd.org/changeset/base/350303

Log:
  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>
  Differential Revision:	https://reviews.freebsd.org/D21059

Modified:
  head/sys/modules/i2c/controllers/ichiic/Makefile

Modified: head/sys/modules/i2c/controllers/ichiic/Makefile
==============================================================================
--- head/sys/modules/i2c/controllers/ichiic/Makefile	Wed Jul 24 21:08:30 2019	(r350302)
+++ head/sys/modules/i2c/controllers/ichiic/Makefile	Wed Jul 24 21:26:17 2019	(r350303)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907242126.x6OLQIwo080123>