Subject: CVS commit: syssrc/sys/arch/mipsco/mipsco
To: None <source-changes@netbsd.org>
From: Wayne Knowles <wdk@netbsd.org>
List: source-changes
Date: 12/15/2001 13:33:14
Module Name:	syssrc
Committed By:	wdk
Date:		Sat Dec 15 11:33:13 UTC 2001

Modified Files:
	syssrc/sys/arch/mipsco/mipsco: bus_dma.c

Log Message:
Revert back to invalidating cache during BUS_DMASYNC_POSTREAD instead of
during BUS_DMASYNC_PREREAD.

Fixes problem where SCSI bus probe didn't read meaningful identity data.

Technically there should be no difference between invalidating before or
after the DMA, but for reasons known only to the R3000 this fixes the
problem.   Some thought needs to be given to whether there is a performace
difference between these two cases.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/mipsco/mipsco/bus_dma.c

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