summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-01-13 21:29:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-01-13 21:29:24 +0000
commitaa42a0b53d48ba38996905c509a8eebfb4fa4607 (patch)
tree1c099696583ae515ac0ec4254f53c6047288f9ef /sys/arch/mvme88k/conf
parente9135ac4cf4c91cfee56c97acc82db98141f6077 (diff)
Take advantage of the way config(8) works to probe for bugtty last during
autoconf. Bugtty will then not attach if either cl or dart has attached. Note that, if you boot -c and disable the real console driver for your board, you lose, because of the early console initialization. This is not supported anyway.
Diffstat (limited to 'sys/arch/mvme88k/conf')
-rw-r--r--sys/arch/mvme88k/conf/files.mvme88k13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/arch/mvme88k/conf/files.mvme88k b/sys/arch/mvme88k/conf/files.mvme88k
index 89a6a4ca43a..169090baece 100644
--- a/sys/arch/mvme88k/conf/files.mvme88k
+++ b/sys/arch/mvme88k/conf/files.mvme88k
@@ -1,16 +1,10 @@
-# $OpenBSD: files.mvme88k,v 1.24 2004/01/02 23:35:00 miod Exp $
+# $OpenBSD: files.mvme88k,v 1.25 2004/01/13 21:29:21 miod Exp $
#
maxpartitions 16
device mainbus { [addr = -1 ] }
attach mainbus at root
-# this should be removed after bringup
-
-device bugtty: tty
-attach bugtty at mainbus
-file arch/mvme88k/dev/bugtty.c bugtty needs-count
-
device bussw { [offset = -1], [ ipl = 0 ] }
attach bussw at mainbus
file arch/mvme88k/dev/bussw.c bussw needs-count
@@ -48,6 +42,11 @@ device dart: tty
attach dart at syscon
file arch/mvme88k/dev/dart.c dart needs-count
+# fallback console, only if no cl or dart is available
+device bugtty: tty
+attach bugtty at mainbus
+file arch/mvme88k/dev/bugtty.c bugtty needs-count
+
include "../../../scsi/files.scsi"
major { sd = 4 }