summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-04-20 16:47:18 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-04-20 16:47:18 +0000
commit2cba9afa5d57c28e4e9df74469b2c78f5b861551 (patch)
tree01283a4e797d0e25b24f1b26a05ea2cbead2a424
parent5905090010faecfd7ece2ccc54c44b9b3392afc0 (diff)
Sync console handling with hppa port:
Delay switching to the real serial console until we attach the serial device. The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. Last bit isn't true yet; the code to support com @ ssio isn't there yet on hppa64.
-rw-r--r--sys/arch/hppa64/hppa64/conf.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/arch/hppa64/hppa64/conf.c b/sys/arch/hppa64/hppa64/conf.c
index e0e9b9f98ce..75646ee54c9 100644
--- a/sys/arch/hppa64/hppa64/conf.c
+++ b/sys/arch/hppa64/hppa64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.7 2008/04/08 14:31:54 claudio Exp $ */
+/* $OpenBSD: conf.c,v 1.8 2008/04/20 16:47:17 kettenis Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -258,21 +258,3 @@ iskmemdev(dev)
{
return (major(dev) == mem_no && minor(dev) < 2);
}
-
-#include <dev/cons.h>
-
-cons_decl(pdc);
-cons_decl(ws);
-cons_decl(com);
-
-struct consdev constab[] = {
- cons_init(pdc), /* XXX you'd better leave it here for pdc.c */
-#if NWSDISPLAY1 > 0
- cons_init(ws),
-#endif
-#if NCOM1 > 0
- cons_init(com),
-#endif
- { 0 }
-};
-