summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-03-05 22:16:43 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-03-05 22:16:43 +0000
commit983c19a3f252065db6d383278de2c3b46fd6c20e (patch)
tree0fb00b0bb8d531b96de6bcd0fa0d422967b9b529 /sys/arch/i386
parent69ecdbc818e5edd59b173fff9f56a21b910997db (diff)
Backs out changes to wsdisplay.c so alpha (and presumably others)
is happy again. It also makes i386 serial console work by changing the console priority in wscons_machdep.c from CN_INTERNAL to CN_NORMAL and moves the com/pccom console attach routine for i386 to be the first so it will be matched (consinit takes the first highest match).
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/conf.c8
-rw-r--r--sys/arch/i386/i386/wscons_machdep.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index afc0dcc9e09..4b39a127b2c 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.65 2001/02/25 23:24:18 aaron Exp $ */
+/* $OpenBSD: conf.c,v 1.66 2001/03/05 22:16:42 millert Exp $ */
/* $NetBSD: conf.c,v 1.75 1996/05/03 19:40:20 christos Exp $ */
/*
@@ -508,14 +508,14 @@ cons_decl(com);
cons_decl(ws);
struct consdev constab[] = {
+#if NCOM + NPCCOM > 0
+ cons_init(com),
+#endif
#if NWSDISPLAY > 0
cons_init(ws),
#endif
#if NPC + NVT > 0
cons_init(pc),
#endif
-#if NCOM + NPCCOM > 0
- cons_init(com),
-#endif
{ 0 },
};
diff --git a/sys/arch/i386/i386/wscons_machdep.c b/sys/arch/i386/i386/wscons_machdep.c
index 1ff1ad79d4c..00f5626603e 100644
--- a/sys/arch/i386/i386/wscons_machdep.c
+++ b/sys/arch/i386/i386/wscons_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscons_machdep.c,v 1.2 2001/02/26 20:20:02 aaron Exp $ */
+/* $OpenBSD: wscons_machdep.c,v 1.3 2001/03/05 22:16:42 millert Exp $ */
/*
* Copyright (c) 2001 Aaron Campbell
@@ -105,7 +105,7 @@ wscnprobe(cp)
}
cp->cn_dev = makedev(maj, 0);
- cp->cn_pri = CN_INTERNAL;
+ cp->cn_pri = CN_NORMAL;
}
void