From 9901ccb8a55028463955f3ea4cbd066a479e8a48 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 18 Aug 2008 23:04:29 +0000 Subject: 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. --- sys/arch/vax/conf/files.vax | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/arch/vax/conf') 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 ;) # -- cgit v1.2.3