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:27:29
Module Name:	syssrc
Committed By:	mhitch
Date:		Thu Sep 28 03:27:29 UTC 2000

Modified Files:
	syssrc/sys/arch/pmax/tc: asc_ioasic.c

Log Message:
Set the boundary to NBPG for bus_dmamap_create().  The IOASIC DMA segment
can not cross a page boundary.  This fixes a problem when a dump(8) buffer
just crossed a page boundary and bus_dmamap_load() would coalesce the
the overlap onto the first segment.  The NEXTPTR value would get set to
-1 when starting the DMA transfer and the residual data for unaligned
transfers would be copied to physical address 0x1ffffffc.  On the R3000,
this would result in corrupted data, and on the R4000 would usually result
in a hard system hang.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/pmax/tc/asc_ioasic.c

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