summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
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/sparc/dev
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/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/zs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/zs.c b/sys/arch/sparc/dev/zs.c
index 9726606b384..fbbfcf9bc14 100644
--- a/sys/arch/sparc/dev/zs.c
+++ b/sys/arch/sparc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.44 2007/10/22 14:46:46 jsing Exp $ */
+/* $OpenBSD: zs.c,v 1.45 2008/01/23 16:37:57 jsing Exp $ */
/* $NetBSD: zs.c,v 1.50 1997/10/18 00:00:40 gwr Exp $ */
/*-
@@ -829,7 +829,7 @@ zscnprobe(cn)
struct consdev *cn;
{
cn->cn_dev = makedev(zs_major, zstty_unit);
- cn->cn_pri = CN_REMOTE;
+ cn->cn_pri = CN_HIGHPRI;
}
void
@@ -908,7 +908,7 @@ promcnprobe(cn)
struct consdev *cn;
{
cn->cn_dev = makedev(0, 0);
- cn->cn_pri = CN_INTERNAL;
+ cn->cn_pri = CN_MIDPRI;
}
void