*BSD News Article 6839


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!venice!gumby.dsd.trw.com!deneva!cjohnson
From: cjohnson@venice.sedd.trw.com (Clarence Johnson)
Subject: Re: Hardware handshake (RTS/CTS) on serial line with 386BSD
Message-ID: <2AE4AF34.627E@deneva.sdd.trw.com>
Sender: news@deneva.sdd.trw.com
Organization: TRW Inc., Redondo Beach, CA
X-Newsreader: Tin 1.1 local 2 PL4
References: <1bqh7dINN8ae@werple.apana.org.au>
Date: Wed, 21 Oct 92 01:15:31 GMT
Lines: 37

andrew@werple.apana.org.au (Andrew Herbert) writes:
: ob@obh.in-berlin.de (Oliver Brandmueller) writes:
: 
: >how can I use the hardware handshake (RTS/CTS) with 386BSD on
: >com1? Without RTS/CTS handshake it is impossible to have a high
: >speed modem connected.
: 
: This can be done using the standard com driver with a few mods and a bug fix:
: 
: * comment out the line "comsoftCAR |= 1 << unit;        /* XXX */" to enable
:   CD and CTS handling on the serial ports (line 148)
: 
: * uncomment the IER_EMSC in:
:   outb(com+com_ier, IER_ERXRDY | IER_ETXRDY | IER_ERLS /*| IER_EMSC*/);
:   (line 403)
: 
: * replace the expression "(tp->t_flags & CRTSCTS)" with
:   "(tp->t_cflag & CRTSCTS)" (line 489)
: 
: The line numbers are for a pl3 version of i386/isa/com.c.  Once you've done
: these things, you just need to do a "stty crtscts" or equivalent to get
: hardware flow-control.
: 
: hope this helps,
: Andrew
Any way to get a built version of this com driver already built.  I don't
have the disk space right now to build anything?  Been having problems
running slip faster than 14.4.

Thanks

Clarence Johnson
TRW inc.
johnson@venice.sedd.trw.com