svn commit: r352390 - stable/12/sys/modules/i2c/controllers/ichiic

Ed Maste emaste at FreeBSD.org
Mon Sep 16 12:54:45 UTC 2019


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
 


More information about the svn-src-all mailing list