summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>1998-12-05 22:36:31 +0000
committermjacob <mjacob@FreeBSD.org>1998-12-05 22:36:31 +0000
commita3957bb74a83dcb5e29104583c2c3b309b9d228f (patch)
tree50a87d6ee51e93ac11b34be611a45ae973039a97 /sys
parentd5f449060e5aa8803ba805f13480be9654c23c43 (diff)
downloadFreeBSD-src-a3957bb74a83dcb5e29104583c2c3b309b9d228f.zip
FreeBSD-src-a3957bb74a83dcb5e29104583c2c3b309b9d228f.tar.gz
Fix it so that it works on an eb164 when you have a serial console on com1.
Obtained from:gallatin@freebsd.org
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/dec_eb164.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/alpha/alpha/dec_eb164.c b/sys/alpha/alpha/dec_eb164.c
index c055387..df6eee8 100644
--- a/sys/alpha/alpha/dec_eb164.c
+++ b/sys/alpha/alpha/dec_eb164.c
@@ -1,4 +1,4 @@
-/* $Id: dec_eb164.c,v 1.3 1998/07/22 08:18:34 dfr Exp $ */
+/* $Id: dec_eb164.c,v 1.4 1998/08/10 07:53:58 dfr Exp $ */
/* $NetBSD: dec_eb164.c,v 1.26 1998/04/17 02:45:19 mjacob Exp $ */
/*
@@ -98,6 +98,7 @@ dec_eb164_cons_init()
/* serial console ... */
/* XXX */
{
+ extern int comconsole;
/*
* Delay to allow PROM putchars to complete.
* FIFO depth * character time,
@@ -105,6 +106,11 @@ dec_eb164_cons_init()
*/
DELAY(160000000 / comcnrate);
+ /*
+ * force a comconsole on com1 if the SRM has a serial
+ * console
+ */
+ comconsole = 0;
if (siocnattach(0x3f8, comcnrate))
panic("can't init serial console");
OpenPOWER on IntegriCloud