diff options
| author | thorpej <thorpej@NetBSD.org> | 2003-06-14 17:01:06 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2003-06-14 17:01:06 +0000 |
| commit | 0eff67182063296fdff3cc65b22d4e2bd37b026d (patch) | |
| tree | e6e84834f7446c89ef5e4ae39168ef621ebf247f /sys/arch/evbmips | |
| parent | fee392c19711a257212390df1c60829c45e46e8c (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/evbmips')
| -rw-r--r-- | sys/arch/evbmips/malta/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/evbmips/malta/machdep.c b/sys/arch/evbmips/malta/machdep.c index f683b09dd56..58197e0e8af 100644 --- a/sys/arch/evbmips/malta/machdep.c +++ b/sys/arch/evbmips/malta/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.10 2003/04/26 11:05:11 ragge Exp $ */ +/* $NetBSD: machdep.c,v 1.11 2003/06/14 17:01:11 thorpej Exp $ */ /* * Copyright 2001, 2002 Wasabi Systems, Inc. @@ -222,7 +222,8 @@ mach_init(int argc, char **argv, yamon_env_var *envp, u_long memsize) * character time = (1000000 / (defaultrate / 10)) */ delay(160000000 / comcnrate); - if (comcnattach(&mcp->mc_iot, MALTA_UART0ADR, comcnrate, COM_FREQ, + if (comcnattach(&mcp->mc_iot, MALTA_UART0ADR, comcnrate, + COM_FREQ, COM_TYPE_NORMAL, (TTYDEF_CFLAG & ~(CSIZE | PARENB)) | CS8) != 0) panic("malta: unable to initialize serial console"); #else |
