Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/sgimips Add some delay before calling comcn...
details: https://anonhg.NetBSD.org/src/rev/8b76a1dbe812
branches: trunk
changeset: 553477:8b76a1dbe812
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Oct 17 18:15:52 2003 +0000
description:
Add some delay before calling comcnattach() to wait
previous console output to complete.
diffstat:
sys/arch/sgimips/sgimips/console.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 031e00c9e980 -r 8b76a1dbe812 sys/arch/sgimips/sgimips/console.c
--- a/sys/arch/sgimips/sgimips/console.c Fri Oct 17 17:56:28 2003 +0000
+++ b/sys/arch/sgimips/sgimips/console.c Fri Oct 17 18:15:52 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: console.c,v 1.11 2003/10/05 15:38:08 tsutsui Exp $ */
+/* $NetBSD: console.c,v 1.12 2003/10/17 18:15:52 tsutsui Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.11 2003/10/05 15:38:08 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.12 2003/10/17 18:15:52 tsutsui Exp $");
#include "opt_kgdb.h"
#include "opt_machtypes.h"
@@ -97,6 +97,7 @@
if (strlen(consdev) == 9 &&
strncmp(consdev, "serial", 6) == 0 &&
(consdev[7] == '0' || consdev[7] == '1')) {
+ delay(10000);
/* XXX: hardcoded MACE iotag */
if (comcnattach(3, MIPS_PHYS_TO_KSEG1(MACE_BASE +
((consdev[7] == '0') ?
Home |
Main Index |
Thread Index |
Old Index