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/amd64/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/amd64/stand')
-rw-r--r-- | sys/arch/amd64/stand/libsa/bioscons.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/stand/libsa/bioscons.c b/sys/arch/amd64/stand/libsa/bioscons.c index 6f9e25329b9..b438a15a2af 100644 --- a/sys/arch/amd64/stand/libsa/bioscons.c +++ b/sys/arch/amd64/stand/libsa/bioscons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioscons.c,v 1.3 2007/04/28 19:23:10 deraadt Exp $ */ +/* $OpenBSD: bioscons.c,v 1.4 2008/01/23 16:37:56 jsing Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -48,14 +48,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)); @@ -125,7 +125,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); } |