Increase the delay when resetting the port so that the output doesn't

get scrambled when we're the console.  Add RCSID while here.
This commit is contained in:
gmcgarry 2002-03-15 05:36:38 +00:00
parent b5dfc7ec7b
commit ddfcbf2bfc

View File

@ -1,4 +1,4 @@
/* $NetBSD: dca.c,v 1.47 2002/02/23 21:54:31 gmcgarry Exp $ */
/* $NetBSD: dca.c,v 1.48 2002/03/15 05:36:38 gmcgarry Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -83,6 +83,9 @@
* machines.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dca.c,v 1.48 2002/03/15 05:36:38 gmcgarry Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -261,8 +264,9 @@ dcaattach(parent, self, aux)
ipl = DIO_IPL(dca);
printf(" ipl %d", ipl);
DELAY(1000);
dca->dca_reset = 0xFF;
DELAY(100);
DELAY(1000);
/* look for a NS 16550AF UART with FIFOs */
dca->dca_fifo = FIFO_ENABLE|FIFO_RCV_RST|FIFO_XMT_RST|FIFO_TRIGGER_14;