Page MenuHomeFreeBSD
Paste P209

uart acpi
ActivePublic

Authored by imp on Aug 16 2018, 8:02 PM.
Tags
None
Referenced Files
F3655827: uart acpi
Aug 16 2018, 8:02 PM
Subscribers
None
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile
index f16d59aa7f6e..77ed6a91b078 100644
--- a/sys/modules/uart/Makefile
+++ b/sys/modules/uart/Makefile
@@ -26,8 +26,13 @@ uart_dev_mvebu=uart_dev_mvebu.c
uart_dev_mu=uart_dev_mu.c
.endif
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" \
+ ${MACHINE_CPUARCH} == "i386"
+uart_bus_acpi=uart_bus_acpi.c
+.endif
+
KMOD= uart
-SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
+SRCS= ${uart_bus_acpi} ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
uart_bus_pci.c uart_bus_puc.c uart_bus_scc.c \
uart_core.c ${uart_cpu_machine} uart_dbg.c \
${uart_dev_mvebu} uart_dev_ns8250.c ${uart_dev_mu} \

Event Timeline

imp created this object in space S1 Global.