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/dev/ic | |
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/dev/ic')
-rw-r--r-- | sys/dev/ic/com.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 634ab9401ce..2ed5b36e0fe 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com.c,v 1.120 2008/01/12 13:32:23 miod Exp $ */ +/* $OpenBSD: com.c,v 1.121 2008/01/23 16:37:55 jsing Exp $ */ /* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */ /* @@ -1354,9 +1354,9 @@ comcnprobe(struct consdev *cp) /* initialize required fields */ cp->cn_dev = makedev(commajor, CONUNIT); #if defined(COMCONSOLE) || defined(PCCOMCONSOLE) || !defined(__amd64__) - cp->cn_pri = CN_REMOTE; + cp->cn_pri = CN_HIGHPRI; #else - cp->cn_pri = CN_NORMAL; + cp->cn_pri = CN_LOWPRI; #endif } @@ -1381,7 +1381,7 @@ comcnattach(bus_space_tag_t iot, bus_addr_t iobase, int rate, int frequency, tcf { static struct consdev comcons = { NULL, NULL, comcngetc, comcnputc, comcnpollc, NULL, - NODEV, CN_NORMAL + NODEV, CN_LOWPRI }; #ifndef __sparc64__ |