-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi Adrian,
I noticed this while trying to figure out things on an arm64.
A PREREAD and a POSTWRITE flag at the same time make very little sense.
Submitted by: bz
Sponsored by: Rubicon Communications, LLC (d/b/a "Netgate")
diff --git a/sys/dev/athp/if_athp_desc.c b/sys/dev/athp/if_athp_desc.c
index f40afbcc2cf8..b8712dad892a 100644
--- a/sys/dev/athp/if_athp_desc.c
+++ b/sys/dev/athp/if_athp_desc.c
@@ -378,7 +378,7 @@ athp_dma_mbuf_post_xmit(struct ath10k *ar, struct athp_dma_head *dh,
{
ATHP_DMA_LOCK(ar);
- bus_dmamap_sync(dh->tag, dm->map, BUS_DMASYNC_PREREAD |
+ bus_dmamap_sync(dh->tag, dm->map, BUS_DMASYNC_POSTREAD |
BUS_DMASYNC_POSTWRITE);
ATHP_DMA_UNLOCK(ar);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels