From edith!cmcl2!rutgers!ucsd!usc!samsung!uunet!ibmpa!bullhead!brunner Fri Nov 17 15:13:25 EST 1989
Article 17 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: off-by-some corrected, ttyc1 no longer traps
Keywords: V1.21 asych multiport driver
Message-ID: <2966@ibmpa.UUCP>
Date: 17 Nov 89 00:24:39 GMT
Sender: news@ibmpa.UUCP
Reply-To: brunner@ibmsupt.UUCP ()
Organization: IBM AWD Palo Alto
Lines: 34

Subject: Patch for multiport asychronous driver
Index: /sys/caio/asy.c, IBM/4.3

Description:
	A bug was introduced in V1.3 limiting minor device numbers.
	I/O on /dev/ttyc1 results in a trap.

Fix:
	Apply the following patch:

*** asy.c	Wed Nov 15 14:33:41 1989
--- asy.c.fix	Wed Nov 15 14:33:10 1989
***************
*** 102,109 ****
    *			-----------
    */
  #define NPORTS	4		/* number of serial port per multiport card */
! #define MAXCTLR 6		/* total ctrl cards */
! #define MAXUNIT 18		/* total number of ports configured */
  struct cbuf asycbuf[MAXUNIT];
   /*
    * Terminology:
--- 102,108 ----
    *			-----------
    */
  #define NPORTS	4		/* number of serial port per multiport card */
! #define MAXUNIT (NASY * NPORTS)	/* total number of ports configured */
  struct cbuf asycbuf[MAXUNIT];
   /*
    * Terminology:

Eric Brunner, Consultant, IBM AWD Palo Alto	(415) 855-4486
inet: brunner@monet.berkeley.edu
uucp: uunet!ibmsupt!brunner	


