summaryrefslogtreecommitdiffstats
path: root/sys/modules/uart
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-06 23:23:26 +0000
committermarcel <marcel@FreeBSD.org>2003-09-06 23:23:26 +0000
commitdc5fd921a040486a4b96ea67b914d37b0b99d8c8 (patch)
tree16f6e621501d099781e75a3b5dbc35b4de568e78 /sys/modules/uart
parent6efc7b093dec3e8eb3e8318116ca5338ed95ba31 (diff)
downloadFreeBSD-src-dc5fd921a040486a4b96ea67b914d37b0b99d8c8.zip
FreeBSD-src-dc5fd921a040486a4b96ea67b914d37b0b99d8c8.tar.gz
Hook-up the uart(4) driver to the build. For a detailed description
of what uart(4) is and/or is not see the initial commit log of one of the files in sys/dev/uart (or see share/man/man4/uart.4). Note that currently pc98 shares the MD file with i386. This needs to change when pc98 support is fleshed-out to properly support the various UARTs. A good example is sparc64 in this respect. We build uart(4) as a module on all platforms. This may break the ppc port. That depends on whether they do actually build modules. To use uart(4) on alpha, one must use the NO_SIO option.
Diffstat (limited to 'sys/modules/uart')
-rw-r--r--sys/modules/uart/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile
new file mode 100644
index 0000000..588e2a8
--- /dev/null
+++ b/sys/modules/uart/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/uart
+
+KMOD= uart
+SRCS= uart_bus_acpi.c uart_bus_ebus.c uart_bus_isa.c uart_bus_pci.c \
+ uart_bus_puc.c uart_core.c uart_cpu_${MACHINE_ARCH}.c \
+ uart_dev_ns8250.c uart_dev_sab82532.c uart_dev_z8530.c uart_if.c \
+ uart_tty.c
+SRCS+= bus_if.h device_if.h isa_if.h pci_if.h uart_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud