From 7f1108670a2ba0bd92c2a3691e98bc89725e6589 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Wed, 23 Jan 2008 16:37:59 +0000 Subject: 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@ --- sys/arch/sparc/dev/zs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/sparc/dev') 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 -- cgit v1.2.3