patches for replacement asy driver
Jim Murray
jjm at jjmhome.UUCP
Thu Jun 1 13:44:52 AEST 1989
Enclosed are the patches necessary to bring the driver up to the
current rev. See the patch to README for further info.
--------------------------- cut here -----------------------------------
Prereq: 1.00
diff -c release_1.0/patchlevel.h release_1.1/patchlevel.h
*** release_1.0/patchlevel.h Sat May 6 21:46:29 1989
--- release_1.1/patchlevel.h Mon May 22 19:14:57 1989
***************
*** 1 ****
! release 1.00 release 1 patchlevel 00
--- 1 ----
! release 1.01 release 1 patchlevel 01
*** release_1.0/README Sat May 6 23:19:46 1989
--- release_1.1/README Mon May 22 19:19:23 1989
***************
*** 272,278 ****
--- 272,290 ----
release 1.0 Sat May 6, 1989
First general release.
+
+ ------------------------------------------------------------
+ release 1.1 Mon May 22, 1989
+
+ Bug Fixes:
+
+ A bug that caused DTR not to be reasserted when a forced
+ hangup stty 0 was followed by a stty 2400. None of the
+ standard packages getty or uucp use this sequence.
+ Added two missing static declarations that caused the SysV
+ compiler to complain.
+
---------------------------------------------------------------------
Outstand issues and crocks.
diff -c release_1.0/asy.c release_1.1/asy.c
*** release_1.0/asy.c Sat May 6 23:25:02 1989
--- release_1.1/asy.c Mon May 22 19:14:16 1989
***************
*** 7,13 ****
USA voice (508) 366-2813
*/
! /* RELEASE 1.00 */
#if !defined (__GNUC__) && !defined (iAPX286)
#include <sys/inline.h>
--- 7,13 ----
USA voice (508) 366-2813
*/
! /* RELEASE 1.01 */
#if !defined (__GNUC__) && !defined (iAPX286)
#include <sys/inline.h>
***************
*** 377,383 ****
--- 377,389 ----
splx (old_level);
return;
}
+ else if (!(aip->mcr & MC_SET_DTR))
+ {
+ aip->mcr |= (MC_SET_DTR);
+ outb (MDM_CTL_PORT, aip->mcr);
+ }
+
switch (ttyp->t_cflag & CSIZE)
{
default:
***************
*** 868,874 ****
wakeup (&aip->device_flags);
}
! void
open_device(aip, opening_getty_version)
register struct asy_info *aip;
int opening_getty_version;
--- 874,880 ----
wakeup (&aip->device_flags);
}
! static void
open_device(aip, opening_getty_version)
register struct asy_info *aip;
int opening_getty_version;
***************
*** 893,899 ****
aip->device_flags |= DF_DEVICE_OPEN;
}
! void
close_device(aip)
register struct asy_info *aip;
{
--- 899,905 ----
aip->device_flags |= DF_DEVICE_OPEN;
}
! static void
close_device(aip)
register struct asy_info *aip;
{
--
Jim Murray INET jjm%jjmhome at m2c.m2c.org
2 Mohawk Circle Smart mailer jjm at jjmhome.UUCP
Westboro Mass 01581 harvard!m2c!jjmhome!jjm
USA voice (508) 366-2813
More information about the Comp.unix.microport
mailing list