Subject: CVS commit: src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 09/29/2007 11:04:51
Module Name: src
Committed By: bouyer
Date: Sat Sep 29 11:04:51 UTC 2007
Modified Files:
src/sys/dev/scsipi: st.c
Log Message:
Properly set b_resid in an error case.
Clamp b_resid to b_bcount in case the info field is larger. Fix a KASSERT
in physio() when a media error occurs on my SDLT320 drive (maybe this drive
is bogus for not setting the highter bits to 0 in the INFO field in this
case).
To generate a diff of this commit:
cvs rdiff -r1.198 -r1.199 src/sys/dev/scsipi/st.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.