diff options
author | sam <sam@FreeBSD.org> | 2006-11-24 22:45:26 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-11-24 22:45:26 +0000 |
commit | 598bf8336d02656a3c2eebfc5914c625375d017a (patch) | |
tree | 972f461c1427fdc2622f6eeed68e9a7d8c586c95 /sys/dev/ath | |
parent | f3bb6f67874aebe5550daf553367291a8b5f7db0 (diff) | |
download | FreeBSD-src-598bf8336d02656a3c2eebfc5914c625375d017a.zip FreeBSD-src-598bf8336d02656a3c2eebfc5914c625375d017a.tar.gz |
mark tx/rx descriptors COHERENT; we do not sync changes so on
architectures like arm this is necessary
MFC after: 1 month
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/if_ath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 6b239e7..12602d2 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -2508,7 +2508,8 @@ ath_descdma_setup(struct ath_softc *sc, } error = bus_dmamem_alloc(dd->dd_dmat, (void**) &dd->dd_desc, - BUS_DMA_NOWAIT, &dd->dd_dmamap); + BUS_DMA_NOWAIT | BUS_DMA_COHERENT, + &dd->dd_dmamap); if (error != 0) { if_printf(ifp, "unable to alloc memory for %u %s descriptors, " "error %u\n", nbuf * ndesc, dd->dd_name, error); |