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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to