Filter out BUS_DMASYNC_POSTWRITE sync operations, there is nothing for us
to do on these. Reported by: wma Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
1d4d43c0e7
commit
98670cad72
@ -955,6 +955,9 @@ bounce_bus_dmamap_sync(bus_dma_tag_t dmat, bus_dmamap_t map,
|
||||
struct sync_list *sl, *end;
|
||||
vm_offset_t datavaddr, tempvaddr;
|
||||
|
||||
if (op == BUS_DMASYNC_POSTWRITE)
|
||||
return;
|
||||
|
||||
if ((op & BUS_DMASYNC_POSTREAD) != 0) {
|
||||
/*
|
||||
* Wait for any DMA operations to complete before the bcopy.
|
||||
|
Loading…
Reference in New Issue
Block a user