Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/next68k/dev purge the cache on BUS_DMASYNC_PREREAD ...
details: https://anonhg.NetBSD.org/src/rev/2d9fb1afdb88
branches: trunk
changeset: 507819:2d9fb1afdb88
user: dbj <dbj%NetBSD.org@localhost>
date: Sun Apr 01 01:42:51 2001 +0000
description:
purge the cache on BUS_DMASYNC_PREREAD instead of BUS_DMASYNC_POSTREAD
diffstat:
sys/arch/next68k/dev/bus_dma.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r af3b0949a854 -r 2d9fb1afdb88 sys/arch/next68k/dev/bus_dma.c
--- a/sys/arch/next68k/dev/bus_dma.c Sun Apr 01 01:32:10 2001 +0000
+++ b/sys/arch/next68k/dev/bus_dma.c Sun Apr 01 01:42:51 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.18 2001/03/21 18:40:31 soren Exp $ */
+/* $NetBSD: bus_dma.c,v 1.19 2001/04/01 01:42:51 dbj Exp $ */
/*
* This file was taken from from alpha/common/bus_dma.c
@@ -46,7 +46,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.18 2001/03/21 18:40:31 soren Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.19 2001/04/01 01:42:51 dbj Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -481,7 +481,7 @@
}
}
- if (ops & BUS_DMASYNC_POSTREAD) {
+ if (ops & BUS_DMASYNC_PREREAD) {
int i;
for(i=0;i<map->dm_nsegs;i++) {
bus_addr_t p = map->dm_segs[i].ds_addr;
Home |
Main Index |
Thread Index |
Old Index