diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2006-11-24 22:45:26 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2006-11-24 22:45:26 +0000 |
| commit | 0553a01f53d2d6c95a14282e2d41e2682e4e11d6 (patch) | |
| tree | 972f461c1427fdc2622f6eeed68e9a7d8c586c95 /sys/dev/ath | |
| parent | 5cd3e3457f9ae2609e5925e31089aa906ad84eb9 (diff) | |
Notes
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 6b239e7c20716..12602d298c46d 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); |
