From edith!cmcl2!rutgers!ucsd!usc!samsung!uunet!ibmpa!bullhead!brunner Fri Nov 17 15:13:51 EST 1989
Article 18 of comp.sys.ibm.pc.rt:
Path: edith!cmcl2!rutgers!ucsd!usc!samsung!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
References:

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	


