Subject: CVS commit: syssrc
To: None <>
From: Michael L. Hitch <>
List: source-changes
Date: 09/30/2000 04:46:10
Module Name:	syssrc
Committed By:	mhitch
Date:		Sat Sep 30 01:46:10 UTC 2000

Modified Files:
	syssrc/sys/dev/tc [netbsd-1-5]: asc_ioasic.c

Log Message:
Pull up rev 1.22 [approved by thorpej.

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.21.4.1 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.