summaryrefslogtreecommitdiff
path: root/sys/arch/prep
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-06-14 17:01:06 +0000
committerthorpej <thorpej@NetBSD.org>2003-06-14 17:01:06 +0000
commit0eff67182063296fdff3cc65b22d4e2bd37b026d (patch)
treee6e84834f7446c89ef5e4ae39168ef621ebf247f /sys/arch/prep
parentfee392c19711a257212390df1c60829c45e46e8c (diff)
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
Diffstat (limited to 'sys/arch/prep')
-rw-r--r--sys/arch/prep/prep/consinit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/prep/prep/consinit.c b/sys/arch/prep/prep/consinit.c
index 9a291c2048b..c179d179745 100644
--- a/sys/arch/prep/prep/consinit.c
+++ b/sys/arch/prep/prep/consinit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: consinit.c,v 1.1 2002/04/25 20:36:50 nonaka Exp $ */
+/* $NetBSD: consinit.c,v 1.2 2003/06/14 17:01:14 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -133,6 +133,7 @@ dokbd:
bus_space_tag_t tag = &prep_isa_io_space_tag;
if(comcnattach(tag, consinfo->addr, consinfo->speed, COM_FREQ,
+ COM_TYPE_NORMAL,
((TTYDEF_CFLAG & ~(CSIZE | CSTOPB | PARENB)) | CS8)))
panic("can't init serial console");