summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2008-01-23 16:37:59 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2008-01-23 16:37:59 +0000
commit7f1108670a2ba0bd92c2a3691e98bc89725e6589 (patch)
treeb334068e0263bb1f8a52cc8ec13e75efc2b74092 /sys/arch/vax
parentc55bd1fde22d7d1558a234e1b9f927f4f88e19ff (diff)
Cleanup cn_pri. Change constants to more meaningful names, rather than
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/qbus/qd.c4
-rw-r--r--sys/arch/vax/vax/gencons.c4
-rw-r--r--sys/arch/vax/vax/wscons_machdep.c4
-rw-r--r--sys/arch/vax/vsa/dz_ibus.c4
-rw-r--r--sys/arch/vax/vxt/qsc.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/vax/qbus/qd.c b/sys/arch/vax/qbus/qd.c
index a23f23aa80b..7a646038d1a 100644
--- a/sys/arch/vax/qbus/qd.c
+++ b/sys/arch/vax/qbus/qd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qd.c,v 1.12 2007/04/10 17:47:55 miod Exp $ */
+/* $OpenBSD: qd.c,v 1.13 2008/01/23 16:37:57 jsing Exp $ */
/* $NetBSD: qd.c,v 1.17 2000/01/24 02:40:29 matt Exp $ */
/*-
@@ -439,7 +439,7 @@ qdcnprobe(cndev)
for (i = 0; i < nchrdev; i++)
if (cdevsw[i].d_open == qdopen) {
cndev->cn_dev = makedev(i,0);
- cndev->cn_pri = CN_INTERNAL;
+ cndev->cn_pri = CN_MIDPRI;
return;
}
return;
diff --git a/sys/arch/vax/vax/gencons.c b/sys/arch/vax/vax/gencons.c
index 905325328b9..5158f4205ea 100644
--- a/sys/arch/vax/vax/gencons.c
+++ b/sys/arch/vax/vax/gencons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gencons.c,v 1.17 2006/07/19 20:21:08 miod Exp $ */
+/* $OpenBSD: gencons.c,v 1.18 2008/01/23 16:37:57 jsing Exp $ */
/* $NetBSD: gencons.c,v 1.22 2000/01/24 02:40:33 matt Exp $ */
/*
@@ -260,7 +260,7 @@ gencnprobe(struct consdev *cndev)
(vax_boardtype == VAX_BTYP_1301) ||
(vax_boardtype == VAX_BTYP_1305)) {
cndev->cn_dev = makedev(25, 0);
- cndev->cn_pri = CN_NORMAL;
+ cndev->cn_pri = CN_LOWPRI;
}
}
diff --git a/sys/arch/vax/vax/wscons_machdep.c b/sys/arch/vax/vax/wscons_machdep.c
index f3771673de9..fd626539e67 100644
--- a/sys/arch/vax/vax/wscons_machdep.c
+++ b/sys/arch/vax/vax/wscons_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_machdep.c,v 1.3 2007/12/28 20:44:37 miod Exp $ */
+/* $OpenBSD: wscons_machdep.c,v 1.4 2008/01/23 16:37:57 jsing Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -109,7 +109,7 @@ wscnprobe(struct consdev *cp)
return;
found:
- cp->cn_pri = CN_INTERNAL;
+ cp->cn_pri = CN_MIDPRI;
cp->cn_dev = makedev(major, 0);
}
diff --git a/sys/arch/vax/vsa/dz_ibus.c b/sys/arch/vax/vsa/dz_ibus.c
index 1905f02ac62..5e8cdbdc28e 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.23 2007/12/28 20:42:31 miod Exp $ */
+/* $OpenBSD: dz_ibus.c,v 1.24 2008/01/23 16:37:57 jsing Exp $ */
/* $NetBSD: dz_ibus.c,v 1.15 1999/08/27 17:50:42 ragge Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
@@ -313,7 +313,7 @@ dzcnprobe(cndev)
default:
return;
}
- cndev->cn_pri = diagcons != 0 ? CN_REMOTE : CN_NORMAL;
+ cndev->cn_pri = diagcons != 0 ? CN_HIGHPRI : CN_LOWPRI;
cndev->cn_dev = makedev(major, dz_can_have_kbd() ? 3 : diagcons);
dz_regs = iospace;
dz = (void *)dz_regs;
diff --git a/sys/arch/vax/vxt/qsc.c b/sys/arch/vax/vxt/qsc.c
index ce8a1e65bfd..c69b4b950be 100644
--- a/sys/arch/vax/vxt/qsc.c
+++ b/sys/arch/vax/vxt/qsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qsc.c,v 1.1 2006/08/27 16:55:41 miod Exp $ */
+/* $OpenBSD: qsc.c,v 1.2 2008/01/23 16:37:57 jsing Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -829,7 +829,7 @@ qsccnprobe(struct consdev *cp)
ioaccess(iospace, QSCADDR, 1);
cp->cn_dev = makedev(maj, QSC_LINE_SERIAL);
- cp->cn_pri = vax_confdata & 2 ? CN_NORMAL : CN_REMOTE;
+ cp->cn_pri = vax_confdata & 2 ? CN_LOWPRI : CN_HIGHPRI;
}
void