diff options
author | kib <kib@FreeBSD.org> | 2013-12-17 13:38:21 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-12-17 13:38:21 +0000 |
commit | 5a15f697f5d29af8bf18d2a720eea2984b635ba6 (patch) | |
tree | 6a0b3790dc5ec2d04c7ed2eb81bac164e10b23c1 /sys/sparc64 | |
parent | 3e0674d8073161d9702f24c4bea374b3391de589 (diff) | |
download | FreeBSD-src-5a15f697f5d29af8bf18d2a720eea2984b635ba6.zip FreeBSD-src-5a15f697f5d29af8bf18d2a720eea2984b635ba6.tar.gz |
MFC r257228:
Add bus_dmamap_load_ma() function to load map with the array of
vm_pages.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/include/bus_dma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/include/bus_dma.h b/sys/sparc64/include/bus_dma.h index 7395794..7d74419 100644 --- a/sys/sparc64/include/bus_dma.h +++ b/sys/sparc64/include/bus_dma.h @@ -146,5 +146,7 @@ struct bus_dma_tag { ((t)->dt_mt->dm_dmamem_alloc((t), (v), (f), (m))) #define bus_dmamem_free(t, v, m) \ ((t)->dt_mt->dm_dmamem_free((t), (v), (m))) +#define _bus_dmamap_load_ma(t, m, a, tt, o, f, s, p) \ + bus_dmamap_load_ma_triv((t), (m), (a), (tt), (o), (f), (s), (p)) #endif /* !_SPARC64_BUS_DMA_H_ */ |