Patch-ID# 100137-01
Keywords:
Synopsis: ALM flow control patch
Date: 09/Aug/90
 
SunOS release: 4.1
 
Unbundled Product:
 
Unbundled Release:
 
Topic: 
 
BugId's fixed with this patch: 1044721

Architectures for which this patch is available: sun3

Obsoleted by:

Problem Description:


    This patch corrects the behavior described in Sun Bug No. 1044721.
    Systems running SunOS 4.1 with ALM (Systech MTI) boards can experience
    flow control problems on these serial ports.  The system will not 
    recognize an incoming XON character after receiving an XOFF character,
    which causes the port to appear frozen.  Typing ^S^Q will reenable
    output.


Directions for installation and use:

IMPORTANT! -- The following steps are somewhat complex, but must be followed
		explicitly.  This is necessary to insure that the patch can
		be used with more than one kernel configuration.

    Install the patch files:

	# cd /sys/sys 
	# mv ttyflow.h  ttyflow.h.orig
	# cp /tmp/sun3/ttyflow.h . 
	# cd /usr/share/sys/sundev
	# mv mtivar.h mtivar.h.orig
	# cp mti_conf.c mti_conf.c.orig
	# cp /tmp/sun3/mtivar.h .
	# echo 'u_short mtisoftCAR[NMTI];' >> mti_conf.c

	Make the following change to ../conf.common/files.cmn:

	    Find the line that looks like "os/tty.c		standard"
	    Add the following line below it:

	    os/tty_flow.c		standard


	# cd ../sun3/OBJ
	# cp /tmp/sun3/mti.o .
	# cp /tmp/sun3/tty_flow.o .

    Set up a new kernel build directory (if you wish to incorporate this
    patch using an existing build directory, you may skip the next three
    commands):

	# cd ../conf
	# cp OLD_KERNEL_NAME NEW_KERNEL_NAME
	# /etc/config NEW_KERNEL_NAME

	# cd ../NEW_KERNEL_NAME
	# make
	# cp /vmunix /vmunix.orig
	# cp vmunix /vmunix

    Reboot the system.

