Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/lib like com.c, raise DTR/RTS in console...



details:   https://anonhg.NetBSD.org/src/rev/adc91a536322
branches:  trunk
changeset: 480800:adc91a536322
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Jan 20 15:22:57 2000 +0000

description:
like com.c, raise DTR/RTS in console initialisation

diffstat:

 sys/arch/i386/stand/lib/comio_direct.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3229d2c8cf40 -r adc91a536322 sys/arch/i386/stand/lib/comio_direct.c
--- a/sys/arch/i386/stand/lib/comio_direct.c    Thu Jan 20 13:24:11 2000 +0000
+++ b/sys/arch/i386/stand/lib/comio_direct.c    Thu Jan 20 15:22:57 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: comio_direct.c,v 1.3 1998/01/05 07:02:58 perry Exp $   */
+/*     $NetBSD: comio_direct.c,v 1.4 2000/01/20 15:22:57 drochner Exp $        */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1996, 1997
@@ -211,7 +211,7 @@
        outb(combase + com_dlbl, rate);
        outb(combase + com_dlbh, rate >> 8);
        outb(combase + com_cfcr, LCR_8BITS);
-       outb(combase + com_mcr, 0);
+       outb(combase + com_mcr, MCR_DTR | MCR_RTS);
        outb(combase + com_fifo,
            FIFO_ENABLE | FIFO_RCV_RST | FIFO_XMT_RST | FIFO_TRIGGER_1);
        outb(combase + com_ier, 0);



Home | Main Index | Thread Index | Old Index