Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages
Started by brunner
Fri, 17 Nov 1989 00:24
Patch to asych driver IBM/4.3
Author: brunner
Date: Fri, 17 Nov 1989 00:24
Date: Fri, 17 Nov 1989 00:24
34 lines
1492 bytes
1492 bytes
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
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