diff options
Diffstat (limited to 'sys/sparc64/include/bus.h')
-rw-r--r-- | sys/sparc64/include/bus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h index 4aa0a7b..1a90e24 100644 --- a/sys/sparc64/include/bus.h +++ b/sys/sparc64/include/bus.h @@ -988,6 +988,8 @@ struct bus_dma_methods { bus_size_t, bus_dmamap_callback_t *, void *, int); int (*dm_dmamap_load_mbuf)(bus_dma_tag_t, bus_dmamap_t, struct mbuf *, bus_dmamap_callback2_t *, void *, int); + int (*dm_dmamap_load_mbuf_sg)(bus_dma_tag_t, bus_dmamap_t, + struct mbuf *, bus_dma_segment_t *segs, int *nsegs, int); int (*dm_dmamap_load_uio)(bus_dma_tag_t, bus_dmamap_t, struct uio *, bus_dmamap_callback2_t *, void *, int); void (*dm_dmamap_unload)(bus_dma_tag_t, bus_dmamap_t); @@ -1039,6 +1041,8 @@ int bus_dma_tag_destroy(bus_dma_tag_t); ((t)->dt_mt->dm_dmamap_load((t), (m), (p), (s), (cb), (cba), (f))) #define bus_dmamap_load_mbuf(t, m, mb, cb, cba, f) \ ((t)->dt_mt->dm_dmamap_load_mbuf((t), (m), (mb), (cb), (cba), (f))) +#define bus_dmamap_load_mbuf_sg(t, m, mb, segs, nsegs, f) \ + ((t)->dt_mt->dm_dmamap_load_mbuf_sg((t), (m), (mb), (segs), (nsegs), (f))) #define bus_dmamap_load_uio(t, m, ui, cb, cba, f) \ ((t)->dt_mt->dm_dmamap_load_uio((t), (m), (ui), (cb), (cba), (f))) #define bus_dmamap_unload(t, p) \ |