summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-05-14 01:53:38 +0000
committerattilio <attilio@FreeBSD.org>2011-05-14 01:53:38 +0000
commit96139278ce494a26eccc69bb52085b52a50722b7 (patch)
tree7673b284ad690bef683dca3bdfe5aeb355305893 /sys/modules
parent882abde07ade9dbd393ef81d8d65cf3562e85bfc (diff)
downloadFreeBSD-src-96139278ce494a26eccc69bb52085b52a50722b7.zip
FreeBSD-src-96139278ce494a26eccc69bb52085b52a50722b7.tar.gz
Disconnect sun4v architecture from the three.
Some files keep the SUN4V tags as a code reference, for the future, if any rewamped sun4v support wants to be added again. Reviewed by: marius Tested by: sbruno Approved by: re
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/mem/Makefile14
-rw-r--r--sys/modules/uart/Makefile4
2 files changed, 1 insertions, 17 deletions
diff --git a/sys/modules/mem/Makefile b/sys/modules/mem/Makefile
index 952f50f..3710c5d 100644
--- a/sys/modules/mem/Makefile
+++ b/sys/modules/mem/Makefile
@@ -14,18 +14,4 @@ SRCS+= amd64_mem.c
.endif
SRCS+= bus_if.h device_if.h
-.if ${MACHINE} == "sun4v"
-SRCS+= opt_global.h
-
-.if defined(KERNBUILDDIR)
-MKDEP= -include ${KERNBUILDDIR}/opt_global.h
-.else
-CFLAGS+= -include opt_global.h
-MKDEP= -include opt_global.h
-
-opt_global.h:
- echo "#define SUN4V 1" > ${.TARGET}
-.endif
-.endif
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile
index 1a5ce44..9afb86c 100644
--- a/sys/modules/uart/Makefile
+++ b/sys/modules/uart/Makefile
@@ -14,9 +14,7 @@ SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
uart_dev_ns8250.c uart_dev_quicc.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
-.elif exists(${.CURDIR}/../../dev/uart/uart_cpu_${MACHINE}.c)
+.if exists(${.CURDIR}/../../dev/uart/uart_cpu_${MACHINE}.c)
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 \
OpenPOWER on IntegriCloud