svn commit: r350303 - head/sys/modules/i2c/controllers/ichiic
Ed Maste
emaste at FreeBSD.org
Wed Jul 24 21:26:18 UTC 2019
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
More information about the svn-src-all
mailing list