Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Anders Magnusson <ragge@netbsd.org>
List: source-changes
Date: 05/26/2000 14:11:02
Module Name:	syssrc
Committed By:	ragge
Date:		Fri May 26 21:11:01 UTC 2000

Modified Files:
	syssrc/sys/dev/ic: ncr5380sbc.c

Log Message:
Fix for a driver bug provided by Jon W Grubbs (jgrubbs@megsinet.net).

This bug is only visible on some disks, and I have verified that it works
correctly on VAX. However, du to the author, it is a problem on other
machines/disks as well. Here's the author's comments:

> The MI code for the NCR5380 has a small bug in it  The RZ56 wants to
> negotiate for Synchronous Data Transfers and when it does, the current code
> looks like it will send a REJECT message as the spec calls for when we cant
> handle the request.  However, a couple of lines of code in the
> ncr5380_msg_in routine are missing wrt the PARITY message and anything that
> wants to send a REJECT message.  The ATN setup that is done in
> ncr_sched_msgout is immediately negated by the final byte ACK sequence in
> this routine.  This causes bad things to happen to an RZ56.


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 syssrc/sys/dev/ic/ncr5380sbc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.