Article View: comp.sys.ibm.pc.rt
Article #569Patch to asych driver IBM/4.3
From: brunner
Date: Fri, 17 Nov 1989 00:26
Date: Fri, 17 Nov 1989 00:26
34 lines
1278 bytes
1278 bytes
Subject: Patch for multiport asychronous driver
Index: /sys/caio/asy.c, IBM/4.3
Description:
The watchdog close timer expires too early. In the case of
the IBM Proprinter at 9600 bps this causes the last few
lines of output to be lost.
Fix:
Apply the following patch:
*** asy.c Tue Nov 14 15:11:57 1989
--- asy.c.fix Tue Nov 14 15:20:27 1989
***************
*** 520,526 ****
asyouttime(tp)
register struct tty *tp;
{
! return (hz + 3 * hz * tp->t_outq.c_cc / (2 * asyoutputrate[tp->t_ospeed]));
}
/*
--- 520,527 ----
asyouttime(tp)
register struct tty *tp;
{
! return (18 * hz * (1 + tp->t_outq.c_cc / asyoutputrate[tp->t_ospeed]));
!
}
/*
Eric Brunner, Consultant, IBM AWD Palo Alto (415) 855-4486
inet: brunner@monet.berkeley.edu
uucp: uunet!ibmsupt!brunner
Technical Details
Message-ID:
<2967@ibmpa.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!ibmpa!bullhead!brunnerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!ibmpa!bullhead!brunner From: brunner@bullhead.uucp Newsgroups: comp.sys.ibm.pc.rt Subject: Patch to asych driver IBM/4.3 Summary: fixes Proprinter "last page lost" problem Keywords: V1.22 asych multiport driver Message-ID: <2967@ibmpa.UUCP> Date: 17 Nov 89 00:26:39 GMT Sender: news@ibmpa.UUCP Reply-To: brunner@ibmsupt.UUCP () Organization: IBM AWD Palo Alto Lines: 34