Subject: PR/31990 CVS commit: [netbsd-1-6] src/sys/dev
To: None <bouyer@netbsd.org, gnats-admin@netbsd.org,>
From: James Chacon <jmc@netbsd.org>
List: netbsd-bugs
Date: 12/14/2005 03:25:02
The following reply was made to PR kern/31990; it has been noted by GNATS.

From: James Chacon <jmc@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31990 CVS commit: [netbsd-1-6] src/sys/dev
Date: Wed, 14 Dec 2005 03:20:35 +0000 (UTC)

 Module Name:	src
 Committed By:	jmc
 Date:		Wed Dec 14 03:20:35 UTC 2005
 
 Modified Files:
 	src/sys/dev/ic [netbsd-1-6]: esiop.c esiopvar.h siop.c siopvar.h
 	    siopvar_common.h
 	src/sys/dev/microcode/siop [netbsd-1-6]: esiop.ss siop.ss
 
 Log Message:
 Pullup via patch (requested in ticket #5957 by bouyer)
   Some drives disconnect after the last data phase without a save data pointer
   message. In such case we would not update resid with the proper value
   (eventually resid would not be updated at all if there was only one data
   phase). To fix this, have the script save the offset in the data tables at
   disconnect time if there was a transfer, and use this to compute the resid
   if the current offset is 0. PR#31990
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.16.2.6 -r1.16.2.7 src/sys/dev/ic/esiop.c
 cvs rdiff -r1.7.4.1 -r1.7.4.2 src/sys/dev/ic/esiopvar.h
 cvs rdiff -r1.62.2.5 -r1.62.2.6 src/sys/dev/ic/siop.c
 cvs rdiff -r1.18 -r1.18.4.1 src/sys/dev/ic/siopvar.h
 cvs rdiff -r1.21.4.3 -r1.21.4.4 src/sys/dev/ic/siopvar_common.h
 cvs rdiff -r1.13.4.3 -r1.13.4.4 src/sys/dev/microcode/siop/esiop.ss
 cvs rdiff -r1.15.4.1 -r1.15.4.2 src/sys/dev/microcode/siop/siop.ss
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.