Flush the CPU write buffer in _bus_dmamap_sync().

This commit is contained in:
thorpej 1998-02-04 07:35:30 +00:00
parent d317b4789d
commit b1d8bffad8

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_dma.c,v 1.12 1998/02/04 05:12:46 thorpej Exp $ */
/* $NetBSD: bus_dma.c,v 1.13 1998/02/04 07:35:30 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -39,7 +39,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.12 1998/02/04 05:12:46 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.13 1998/02/04 07:35:30 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -354,7 +354,10 @@ _bus_dmamap_sync(t, map, offset, len, ops)
int ops;
{
/* Nothing to do. */
/*
* Flush the store buffer.
*/
alpha_mb();
}
/*