diff options
author | andrew <andrew@FreeBSD.org> | 2016-05-31 16:28:56 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-05-31 16:28:56 +0000 |
commit | ff690eb3c3a8504be572207b54b2f6e27a98f77a (patch) | |
tree | 81069fed31e26a05596030ace701ecfe24c39c8a /sys/arm64 | |
parent | 49e1f823b8d60362e9ed8f8a8a3ac0df578bbef4 (diff) | |
download | FreeBSD-src-ff690eb3c3a8504be572207b54b2f6e27a98f77a.zip FreeBSD-src-ff690eb3c3a8504be572207b54b2f6e27a98f77a.tar.gz |
Enable setting BF_COHERENT on DMA tags. This allows the kernel to start
using the cache handling functions.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/arm64')
-rw-r--r-- | sys/arm64/arm64/busdma_bounce.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm64/arm64/busdma_bounce.c b/sys/arm64/arm64/busdma_bounce.c index 7166ebf..7039153 100644 --- a/sys/arm64/arm64/busdma_bounce.c +++ b/sys/arm64/arm64/busdma_bounce.c @@ -184,10 +184,8 @@ bounce_bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, newtag->map_count = 0; newtag->segments = NULL; -#ifdef notyet if ((flags & BUS_DMA_COHERENT) != 0) newtag->bounce_flags |= BF_COHERENT; -#endif if (parent != NULL) { if ((newtag->common.filter != NULL || |