Tearing Down DMA Tags
DMA tags are torn down by the bus_dma_tag_destroy
function.
#include <machine/bus.h> int bus_dma_tag_destroy(bus_dma_tag_t dmat);
This function returns EBUSY
if there are any DMA maps still associated with dmat
.
Get FreeBSD Device Drivers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.