Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: The Source of All Evil <source@NetBSD.ORG>
List: source-changes
Date: 04/23/1998 06:40:02
bouyer
Thu Apr 23 06:30:40 PDT 1998
Update of /cvsroot/src/sys/dev/ata
In directory nb00:/tmp/cvs-serv24788/ata

Modified Files:
	wd.c wdlink.h 
Log Message:
>From Robert V. Baron:
Compute the disk block addr at command queing time rather than exec time.
This fix a bug which could lead to data corruption on disk: when a command
was reexecuted after an error condition (from wdcunwedge), the partition
offset was re-added to the block addr, leading to a transfert at the wrong
disk block.
This should fix the problem reported by some laptop's users, where the
first disk read after a suspend/resume returned garbage.


bouyer
Thu Apr 23 06:30:40 PDT 1998
Update of /cvsroot/src/sys/dev/ic
In directory nb00:/tmp/cvs-serv24788/ic

Modified Files:
	wdc.c 
Log Message:
>From Robert V. Baron:
Compute the disk block addr at command queing time rather than exec time.
This fix a bug which could lead to data corruption on disk: when a command
was reexecuted after an error condition (from wdcunwedge), the partition
offset was re-added to the block addr, leading to a transfert at the wrong
disk block.
This should fix the problem reported by some laptop's users, where the
first disk read after a suspend/resume returned garbage.