diff options
author | jb <jb@FreeBSD.org> | 2006-10-16 22:11:53 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2006-10-16 22:11:53 +0000 |
commit | 0650419968225b45cb457b515f530e7aabe444fa (patch) | |
tree | 23975fded0add833b7b4afc011e11a2924b0efb7 /sys/modules/uart | |
parent | eac32914a91621c8201291ce72be25b9acac9ecd (diff) | |
download | FreeBSD-src-0650419968225b45cb457b515f530e7aabe444fa.zip FreeBSD-src-0650419968225b45cb457b515f530e7aabe444fa.tar.gz |
In sun4v, use the sparc64 version. We haven't used the serial port on
sun4v yet, so this is a 'best-guess'.
Diffstat (limited to 'sys/modules/uart')
-rw-r--r-- | sys/modules/uart/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index fe62e98..b9b6c36 100644 --- a/sys/modules/uart/Makefile +++ b/sys/modules/uart/Makefile @@ -10,9 +10,14 @@ ofw_bus_if= ofw_bus_if.h KMOD= uart SRCS= uart_bus_acpi.c ${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}.c uart_dbg.c \ + uart_core.c uart_dbg.c \ uart_dev_ns8250.c uart_dev_sab82532.c uart_dev_z8530.c \ uart_if.c uart_if.h uart_subr.c uart_tty.c +.if ${MACHINE} == "sun4v" +SRCS+= uart_cpu_sparc64.c +.else +SRCS+= uart_cpu_${MACHINE}.c +.endif SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \ power_if.h pccarddevs.h serdev_if.h |