summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
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/sparc64/dev
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/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/com_ebus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/com_ebus.c b/sys/arch/sparc64/dev/com_ebus.c
index 36e6edd11bd..d98e481ceff 100644
--- a/sys/arch/sparc64/dev/com_ebus.c
+++ b/sys/arch/sparc64/dev/com_ebus.c
@@ -1,4 +1,4 @@
-/* $NetBSD: com_ebus.c,v 1.18 2002/12/10 13:44:51 pk Exp $ */
+/* $NetBSD: com_ebus.c,v 1.19 2003/06/14 17:01:15 thorpej Exp $ */
/*
* Copyright (c) 1999, 2000 Matthew R. Green
@@ -158,7 +158,7 @@ com_ebus_attach(parent, self, aux)
/* Attach com as the console. */
cn_orig = cn_tab;
if (comcnattach(sc->sc_iot, sc->sc_iobase, kma.kmta_baud,
- sc->sc_frequency, kma.kmta_cflag)) {
+ sc->sc_frequency, COM_TYPE_NORMAL, kma.kmta_cflag)) {
printf("Error: comcnattach failed\n");
}
cn_tab = cn_orig;