mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
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.
This commit is contained in:
parent
27d5dc189c
commit
2bec1c8919
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119816
@ -779,6 +779,18 @@ dev/twe/twe.c optional twe
|
||||
dev/twe/twe_freebsd.c optional twe
|
||||
dev/tx/if_tx.c optional tx
|
||||
dev/txp/if_txp.c optional txp
|
||||
dev/uart/uart_if.m optional uart
|
||||
dev/uart/uart_bus_acpi.c optional uart acpi
|
||||
dev/uart/uart_bus_ebus.c optional uart ebus
|
||||
dev/uart/uart_bus_isa.c optional uart isa
|
||||
dev/uart/uart_bus_pci.c optional uart cardbus
|
||||
dev/uart/uart_bus_pci.c optional uart pci
|
||||
dev/uart/uart_bus_puc.c optional uart puc
|
||||
dev/uart/uart_core.c optional uart
|
||||
dev/uart/uart_dev_ns8250.c optional uart
|
||||
dev/uart/uart_dev_sab82532.c optional uart
|
||||
dev/uart/uart_dev_z8530.c optional uart
|
||||
dev/uart/uart_tty.c optional uart
|
||||
dev/ubsec/ubsec.c optional ubsec
|
||||
#
|
||||
# USB support
|
||||
|
@ -192,6 +192,7 @@ dev/syscons/scvidctl.c optional sc
|
||||
dev/syscons/scvtb.c optional sc
|
||||
dev/syscons/syscons.c optional sc
|
||||
dev/syscons/sysmouse.c optional sc
|
||||
dev/uart/uart_cpu_alpha.c optional uart
|
||||
geom/geom_bsd.c standard
|
||||
geom/geom_bsd_enc.c standard
|
||||
isa/atkbd_isa.c optional atkbd
|
||||
|
@ -42,6 +42,7 @@ dev/syscons/scvidctl.c optional sc
|
||||
dev/syscons/scvtb.c optional sc
|
||||
dev/syscons/syscons.c optional sc
|
||||
dev/syscons/sysmouse.c optional sc
|
||||
dev/uart/uart_cpu_amd64.c optional uart
|
||||
isa/atkbd_isa.c optional atkbd
|
||||
|
||||
amd64/acpica/OsdEnvironment.c optional acpi
|
||||
|
@ -153,6 +153,7 @@ dev/syscons/scvidctl.c optional sc
|
||||
dev/syscons/scvtb.c optional sc
|
||||
dev/syscons/syscons.c optional sc
|
||||
dev/syscons/sysmouse.c optional sc
|
||||
dev/uart/uart_cpu_i386.c optional uart
|
||||
geom/geom_bsd.c standard
|
||||
geom/geom_bsd_enc.c standard
|
||||
geom/geom_mbr.c standard
|
||||
|
@ -70,6 +70,7 @@ dev/syscons/scvidctl.c optional sc
|
||||
dev/syscons/scvtb.c optional sc
|
||||
dev/syscons/syscons.c optional sc
|
||||
dev/syscons/sysmouse.c optional sc
|
||||
dev/uart/uart_cpu_ia64.c optional uart
|
||||
geom/geom_bsd.c standard
|
||||
geom/geom_bsd_enc.c standard
|
||||
geom/geom_gpt.c standard
|
||||
|
@ -131,6 +131,7 @@ dev/syscons/scterm-dumb.c optional sc
|
||||
dev/syscons/scvidctl.c optional sc
|
||||
dev/syscons/syscons.c optional sc
|
||||
dev/syscons/sysmouse.c optional sc
|
||||
dev/uart/uart_cpu_i386.c optional uart
|
||||
geom/geom_bsd.c standard
|
||||
geom/geom_bsd_enc.c standard
|
||||
geom/geom_pc98.c standard
|
||||
|
@ -32,6 +32,7 @@ dev/syscons/scvidctl.c optional sc
|
||||
dev/syscons/scvtb.c optional sc
|
||||
dev/syscons/syscons.c optional sc
|
||||
dev/syscons/sysmouse.c optional sc
|
||||
dev/uart/uart_cpu_sparc64.c optional uart
|
||||
geom/geom_bsd.c standard
|
||||
geom/geom_bsd_enc.c standard
|
||||
geom/geom_sunlabel.c standard
|
||||
|
@ -257,7 +257,7 @@ MFILES?= kern/bus_if.m kern/device_if.m dev/iicbus/iicbb_if.m \
|
||||
dev/pci/pcib_if.m dev/ppbus/ppbus_if.m dev/smbus/smbus_if.m \
|
||||
dev/usb/usb_if.m dev/sound/pcm/ac97_if.m dev/sound/pcm/channel_if.m \
|
||||
dev/sound/pcm/feeder_if.m dev/sound/pcm/mixer_if.m pci/agp_if.m \
|
||||
opencrypto/crypto_if.m pc98/pc98/canbus_if.m
|
||||
opencrypto/crypto_if.m pc98/pc98/canbus_if.m dev/uart/uart_if.m
|
||||
|
||||
.for _srcsrc in ${MFILES}
|
||||
.for _ext in c h
|
||||
|
@ -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 \
|
||||
|
12
sys/modules/uart/Makefile
Normal file
12
sys/modules/uart/Makefile
Normal file
@ -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>
|
Loading…
Reference in New Issue
Block a user