diff options
author | marcel <marcel@FreeBSD.org> | 2003-09-06 23:23:26 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-09-06 23:23:26 +0000 |
commit | dc5fd921a040486a4b96ea67b914d37b0b99d8c8 (patch) | |
tree | 16f6e621501d099781e75a3b5dbc35b4de568e78 /sys/modules | |
parent | 6efc7b093dec3e8eb3e8318116ca5338ed95ba31 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/modules/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/uart/Makefile | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 3db8648..8617abd 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -123,6 +123,7 @@ SUBDIR= accf_data \ twe \ tx \ txp \ + uart \ ubsa \ ubsec \ ucom \ @@ -241,7 +242,7 @@ SUBDIR+=aac \ mly \ s3 \ vesa - + .elif ${MACHINE} == "pc98" SUBDIR+=canbepm \ canbus \ 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> |