Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages
Started by brunner
Fri, 17 Nov 1989 00:26
Patch to asych driver IBM/4.3
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads