We want to ignore BUS_DMASYNC_POSTWRITE, not BUS_DMASYNC_POSTREAD.

Spotted out by:	mux
Pointy hat to:	cognet
This commit is contained in:
cognet 2004-10-21 11:59:33 +00:00
parent bcd25c3901
commit 4e18db9429

View File

@ -687,7 +687,7 @@ bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map, bus_dmasync_op_t op)
int resid;
struct iovec *iov;
if (op == BUS_DMASYNC_POSTREAD)
if (op == BUS_DMASYNC_POSTWRITE)
return;
if (map->flags & DMAMAP_COHERENT)
return;