summaryrefslogtreecommitdiff
path: root/sys/arch/vax/vsa/dz_ibus.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-28 20:42:32 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-28 20:42:32 +0000
commit68153d70629847b689dff52e9ddc737ad5a39d60 (patch)
treeb64255c5c1ce5009708196238f8a7fc82c726a5b /sys/arch/vax/vsa/dz_ibus.c
parentb15e68425deea74fa455dc387a1a8bfd275f3613 (diff)
Explicitely mention we are the console device, when applicable.
Diffstat (limited to 'sys/arch/vax/vsa/dz_ibus.c')
-rw-r--r--sys/arch/vax/vsa/dz_ibus.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/vax/vsa/dz_ibus.c b/sys/arch/vax/vsa/dz_ibus.c
index e7ca81df80d..1905f02ac62 100644
--- a/sys/arch/vax/vsa/dz_ibus.c
+++ b/sys/arch/vax/vsa/dz_ibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dz_ibus.c,v 1.22 2006/08/03 18:45:40 miod Exp $ */
+/* $OpenBSD: dz_ibus.c,v 1.23 2007/12/28 20:42:31 miod Exp $ */
/* $NetBSD: dz_ibus.c,v 1.15 1999/08/27 17:50:42 ragge Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
@@ -151,6 +151,8 @@ dz_vsbus_attach(parent, self, aux)
struct dzkm_attach_args daa;
#endif
+ printf(": ");
+
/*
* XXX - This is evil and ugly, but...
* due to the nature of how bus_space_* works on VAX, this will
@@ -159,6 +161,8 @@ dz_vsbus_attach(parent, self, aux)
if (dz_regs == 0) /* This isn't console */
dz_regs = vax_map_physmem(va->va_paddr, 1);
+ else
+ printf("console, ");
sc->sc_ioh = dz_regs;
sc->sc_dr.dr_csr = 0;
@@ -185,7 +189,7 @@ dz_vsbus_attach(parent, self, aux)
evcount_attach(&sc->sc_tintrcnt, sc->sc_dev.dv_xname,
(void *)&sc->sc_tcvec, &evcount_intr);
- printf(": 4 lines");
+ printf("4 lines");
dzattach(sc);