diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2008-01-23 16:37:59 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2008-01-23 16:37:59 +0000 |
commit | 7f1108670a2ba0bd92c2a3691e98bc89725e6589 (patch) | |
tree | b334068e0263bb1f8a52cc8ec13e75efc2b74092 /sys/arch/i386/stand | |
parent | c55bd1fde22d7d1558a234e1b9f927f4f88e19ff (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/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/libsa/bioscons.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/libsa/bioscons.c b/sys/arch/i386/stand/libsa/bioscons.c index 9447abdadf4..2203ae74912 100644 --- a/sys/arch/i386/stand/libsa/bioscons.c +++ b/sys/arch/i386/stand/libsa/bioscons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioscons.c,v 1.29 2007/04/27 10:08:34 tom Exp $ */ +/* $OpenBSD: bioscons.c,v 1.30 2008/01/23 16:37:56 jsing Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -49,14 +49,14 @@ void pc_probe(struct consdev *cn) { - cn->cn_pri = CN_INTERNAL; + cn->cn_pri = CN_MIDPRI; cn->cn_dev = makedev(12, 0); printf(" pc%d", minor(cn->cn_dev)); #if 0 outb(IO_RTC, NVRAM_EQUIPMENT); if ((inb(IO_RTC+1) & PRESENT_MASK) == PRESENT_MASK) { - cn->cn_pri = CN_INTERNAL; + cn->cn_pri = CN_MIDPRI; /* XXX from i386/conf.c */ cn->cn_dev = makedev(12, 0); printf(" pc%d", minor(cn->cn_dev)); @@ -127,7 +127,7 @@ com_probe(struct consdev *cn) for (i = 0; i < n; i++) printf(" com%d", i); if (n) { - cn->cn_pri = CN_NORMAL; + cn->cn_pri = CN_LOWPRI; /* XXX from i386/conf.c */ cn->cn_dev = makedev(8, 0); } |