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/zaurus | |
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/zaurus')
-rw-r--r-- | sys/arch/zaurus/stand/zboot/unixcons.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/zaurus/stand/zboot/unixcons.c b/sys/arch/zaurus/stand/zboot/unixcons.c index 6c34b5c8fe9..c6502ac41f8 100644 --- a/sys/arch/zaurus/stand/zboot/unixcons.c +++ b/sys/arch/zaurus/stand/zboot/unixcons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: unixcons.c,v 1.1 2005/05/24 20:38:20 uwe Exp $ */ +/* $OpenBSD: unixcons.c,v 1.2 2008/01/23 16:37:57 jsing Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -103,7 +103,7 @@ common_getc(dev_t dev) void cn_probe(struct consdev *cn) { - cn->cn_pri = CN_INTERNAL; + cn->cn_pri = CN_MIDPRI; cn->cn_dev = makedev(0,0); printf("cn%d ", minor(cn->cn_dev)); } @@ -146,7 +146,7 @@ com_probe(struct consdev *cn) printf("com%d ", i); } - cn->cn_pri = CN_NORMAL; + cn->cn_pri = CN_LOWPRI; /* XXX from arm/conf.c */ cn->cn_dev = makedev(12, 0); } |