summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/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/macppc/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/macppc/dev')
-rw-r--r--sys/arch/macppc/dev/zs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/dev/zs.c b/sys/arch/macppc/dev/zs.c
index 9536f02f880..3842224d44c 100644
--- a/sys/arch/macppc/dev/zs.c
+++ b/sys/arch/macppc/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.15 2007/10/22 14:46:46 jsing Exp $ */
+/* $OpenBSD: zs.c,v 1.16 2008/01/23 16:37:56 jsing Exp $ */
/* $NetBSD: zs.c,v 1.17 2001/06/19 13:42:15 wiz Exp $ */
/*
@@ -946,8 +946,8 @@ static int stdin, stdout;
* be the console (as defined in mac68k/conf.c) gets probed. The probe
* fills in the consdev structure. Important parts are the device #,
* and the console priority. Values are CN_DEAD (don't touch me),
- * CN_NORMAL (I'm here, but elsewhere might be better), CN_INTERNAL
- * (the video, better than CN_NORMAL), and CN_REMOTE (pick me!)
+ * CN_LOWPRI (I'm here, but elsewhere might be better), CN_MIDPRI
+ * (the video, better than CN_LOWPRI), and CN_HIGHPRI (pick me!)
*
* As the mac's a bit different, we do extra work here. We mainly check
* to see if we have serial echo going on. Also chould check for default
@@ -1081,7 +1081,7 @@ zscnprobe(cp)
break;
cp->cn_dev = makedev(maj, unit);
- cp->cn_pri = CN_REMOTE;
+ cp->cn_pri = CN_HIGHPRI;
}