Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/ic Pull up revision 1.74 (requested by tsutsui):



details:   https://anonhg.NetBSD.org/src/rev/c0cd0946c0f6
branches:  netbsd-1-5
changeset: 490896:c0cd0946c0f6
user:      he <he%NetBSD.org@localhost>
date:      Fri Mar 16 19:46:52 2001 +0000

description:
Pull up revision 1.74 (requested by tsutsui):
  Add some delay in zstty_attach() to wait for previous console
  output to complete before hardware initialization.  Should fix
  missing ``\r'' after zstty attach on serial console.

diffstat:

 sys/dev/ic/z8530tty.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 573d7e3badbf -r c0cd0946c0f6 sys/dev/ic/z8530tty.c
--- a/sys/dev/ic/z8530tty.c     Fri Mar 16 19:44:04 2001 +0000
+++ b/sys/dev/ic/z8530tty.c     Fri Mar 16 19:46:52 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: z8530tty.c,v 1.67 2000/04/14 20:33:48 pk Exp $ */
+/*     $NetBSD: z8530tty.c,v 1.67.4.1 2001/03/16 19:46:52 he Exp $     */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999
@@ -361,6 +361,9 @@
                /* Call zsparam similar to open. */
                struct termios t;
 
+               /* Wait a while for previous console output to complete */
+               DELAY(10000);
+
                /* Setup the "new" parameters in t. */
                t.c_ispeed = 0;
                t.c_ospeed = cs->cs_defspeed;



Home | Main Index | Thread Index | Old Index