summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-11-01 21:20:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-11-01 21:20:56 +0000
commit502d09447316d90435e67ad00c1656165c581cc7 (patch)
tree7a840dc757e6c69edc61ef46b65bb837dc0c0c35 /sys/arch/hp300/conf
parentb704339b4a8ff1053070fa2b4eb8ef42d829a9a8 (diff)
Drop support for the HP MMU. It was only found on two hp300 systems (models
320 and 350), which have been unsupported since a bunch of release already, because this annoying MMU does not have TT registers (or if it does, it is not documented) and thus went in the way of PMAP_DIRECT for hp300. In other words: remove a bunch of code which was either #ifdef'ed out or had no chance to run in real life.
Diffstat (limited to 'sys/arch/hp300/conf')
-rw-r--r--sys/arch/hp300/conf/Makefile.hp30019
1 files changed, 4 insertions, 15 deletions
diff --git a/sys/arch/hp300/conf/Makefile.hp300 b/sys/arch/hp300/conf/Makefile.hp300
index 41b7e8c4081..c6ded9e94c3 100644
--- a/sys/arch/hp300/conf/Makefile.hp300
+++ b/sys/arch/hp300/conf/Makefile.hp300
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.hp300,v 1.76 2011/07/07 22:28:18 guenther Exp $
+# $OpenBSD: Makefile.hp300,v 1.77 2011/11/01 21:20:52 miod Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -47,26 +47,21 @@ DB_STRUCTINFO= db_structinfo.h
DB_STRUCTINFO=
.endif
-.if (${IDENT:M-DHP320} != "" || ${IDENT:M-DHP350} != "")
-_OPTIONS+= -DM68020 -DM68K_MMU_HP
-CPPFLAGS+= -DCACHE_HAVE_VAC
-.endif
.if (${IDENT:M-DHP330} != "")
-_OPTIONS+= -DM68020 -DM68K_MMU_MOTOROLA
+_OPTIONS+= -DM68020
.endif
.if (${IDENT:M-DHP340} != "" || ${IDENT:M-DHP360} != "" || \
${IDENT:M-DHP362} != "")
-_OPTIONS+= -DM68030 -DM68K_MMU_MOTOROLA
+_OPTIONS+= -DM68030
.endif
.if (${IDENT:M-DHP345} != "" || ${IDENT:M-DHP370} != "" || \
${IDENT:M-DHP375} != "" || ${IDENT:M-DHP400} != "")
-_OPTIONS+= -DM68030 -DM68K_MMU_MOTOROLA
+_OPTIONS+= -DM68030
CPPFLAGS+= -DCACHE_HAVE_PAC
.endif
.if (${IDENT:M-DHP380} != "" || ${IDENT:M-DHP382} != "" || \
${IDENT:M-DHP385} != "" || ${IDENT:M-DHP425} != "" || \
${IDENT:M-DHP433} != "")
-_OPTIONS+= -DM68K_MMU_MOTOROLA
CPPFLAGS+= -DM68040 -DFPSP
.endif
.if ${_OPTIONS:M-DM68020} != ""
@@ -75,12 +70,6 @@ CPPFLAGS+= -DM68020
.if ${_OPTIONS:M-DM68030} != ""
CPPFLAGS+= -DM68030
.endif
-.if ${_OPTIONS:M-DM68K_MMU_HP} != ""
-CPPFLAGS+= -DM68K_MMU_HP
-.endif
-.if ${_OPTIONS:M-DM68K_MMU_MOTOROLA} != ""
-CPPFLAGS+= -DM68K_MMU_MOTOROLA
-.endif
.include "${_archdir}/fpsp/Makefile.inc"