summaryrefslogtreecommitdiff
path: root/sys/arch/vax/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-08-18 23:04:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-08-18 23:04:29 +0000
commit9901ccb8a55028463955f3ea4cbd066a479e8a48 (patch)
treec37942f0e57a285f9314c3db6bd99c5447398879 /sys/arch/vax/conf
parentf144144965ffe5dc6058fe0cd7216a9bbd2acc46 (diff)
Shuffle the dz console code (both serial and keyboard) to be more independent
of the console device attachment, and to be able to work on system where there are more than one dz device of the same type, one of it being the console one. This also allows a different register layout than the dz@ibus one to be used for the dz console device.
Diffstat (limited to 'sys/arch/vax/conf')
-rw-r--r--sys/arch/vax/conf/files.vax8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/vax/conf/files.vax b/sys/arch/vax/conf/files.vax
index 66102cb369a..5524e546c7d 100644
--- a/sys/arch/vax/conf/files.vax
+++ b/sys/arch/vax/conf/files.vax
@@ -1,4 +1,4 @@
-# $OpenBSD: files.vax,v 1.45 2008/04/25 14:51:35 jmc Exp $
+# $OpenBSD: files.vax,v 1.46 2008/08/18 23:04:26 miod Exp $
# $NetBSD: files.vax,v 1.60 1999/08/27 20:04:32 ragge Exp $
#
# new style config file for vax architecture
@@ -17,6 +17,8 @@ device cpu
device mem
device mba {drive = -1}
+define dzcons
+
# SBI and related devices
device sbi {tr = -1}
attach sbi at mainbus with sbi_mainbus
@@ -116,7 +118,7 @@ device ts: tape
attach ts at uba
file arch/vax/uba/ts.c ts needs-flag
-attach dz at vsbus with dz_vsbus
+attach dz at vsbus with dz_vsbus: dzcons
file arch/vax/vsa/dz_ibus.c dz_vsbus
# VXT serial
@@ -201,6 +203,8 @@ attach lkms at qsc with qscms
file arch/vax/dec/dzms.c dzms needs-flag
file arch/vax/vxt/qscms.c qscms needs-flag
+file arch/vax/dec/dzinput.c dzkbd | dzms
+
# These devices aren't tested (or even compiled!)
# They are just included here to make some files happy ;)
#