Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: source-changes
Date: 09/28/2000 06:11:30
Module Name:	syssrc
Committed By:	mhitch
Date:		Thu Sep 28 03:11:30 UTC 2000

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

Log Message:
Set up the physical addresses for DMAPTR/NEXTPTR before adjusting for
unaligned transfers and adjust the physical address to align the transfer.
If the buffer end just crossed the page boundary, the computation of the
NEXTPTR physical address resulted in using -1.  The cleanup at the end of
the DMA transfer would try to copy the residual data to physical address
0x1ffffffc.  This would silently corrupt data on the R3000 and usually
would hang the R4000.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 syssrc/sys/dev/tc/asc_ioasic.c

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