Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: source-changes
Date: 11/02/2000 23:00:05
Module Name:	syssrc
Committed By:	mhitch
Date:		Thu Nov  2 21:00:05 UTC 2000

Modified Files:
	syssrc/sys/dev/tc: asc.c

Log Message:
When a read DMA transfer is interrupted by a disconnect on the IOASIC SCSI
and the buffer is not 8-byte aligned, it leaves a partial transfer in the
SDRx registers.  This could cause data corruption in dump(8) because the
read-ahead buffers are allocated on a non-aligned address.  When the read
DMA transfer is interrupted and the current DMA position is not aligned,
call the dma_end() routine to flush the SDRx register contents to the
buffer.


To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 syssrc/sys/dev/tc/asc.c

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