1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/uart 4 5.if ${MACHINE_ARCH} == "sparc64" 6uart_bus_ebus= uart_bus_ebus.c 7ofw_bus_if= ofw_bus_if.h 8.endif 9 10KMOD= uart 11SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \ 12 uart_bus_pci.c uart_bus_puc.c uart_bus_scc.c \ 13 uart_core.c uart_dbg.c \ 14 uart_dev_ns8250.c uart_dev_sab82532.c uart_dev_z8530.c \ 15 uart_if.c uart_if.h uart_subr.c uart_tty.c 16.if ${MACHINE} == "sun4v" 17SRCS+= uart_cpu_sparc64.c 18.else 19SRCS+= uart_cpu_${MACHINE}.c 20.endif 21SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \ 22 power_if.h pccarddevs.h serdev_if.h 23 24MFILES= dev/pccard/card_if.m dev/pccard/power_if.m dev/pci/pci_if.m \ 25 dev/ofw/ofw_bus_if.m dev/uart/uart_if.m isa/isa_if.m kern/bus_if.m \ 26 kern/device_if.m kern/serdev_if.m 27 28.include <bsd.kmod.mk> 29