Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Paste
P209
uart acpi
Active
Public
Actions
Authored by
imp
on Aug 16 2018, 8:02 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Flag For Later
Award Token
Tags
None
Referenced Files
F3655827: uart acpi
Aug 16 2018, 8:02 PM
2018-08-16 20:02:48 (UTC+0)
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 paste.
Aug 16 2018, 8:02 PM
2018-08-16 20:02:48 (UTC+0)
imp
created this object in space
S1 Global
.
Log In to Comment