Subject: CVS commit: src/sys/arch/sparc/dev
To: None <source-changes@NetBSD.org>
From: John Nemeth <jnemeth@netbsd.org>
List: source-changes
Date: 05/11/2007 18:12:16
Module Name: src
Committed By: jnemeth
Date: Fri May 11 18:12:16 UTC 2007
Modified Files:
src/sys/arch/sparc/dev: fd.c
Log Message:
Fixed formatting. Problem was that we were trying to get the result
of a data transfer operation immediately after the data transfer
was finished, instead of waiting for the chip to interrupt us and
tell us that it was finished and had the result for us. This worked
okay for read and write since the operation would be finished very
shortly after the data transfer completed. However, with formatting,
the chip still had most of the rest of the track to do, so we ended
up timing out before the operation was finished. This fix is from
sparc64/dev/fdc.c and was tested on sparc by tnn@.
To generate a diff of this commit:
cvs rdiff -r1.132 -r1.133 src/sys/arch/sparc/dev/fd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.