DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

dma_free_buf(D3)


dma_free_buf -- free a previously allocated DMA buffer descriptor

Synopsis

   #include <sys/dma.h>
   #include <sys/ddi.h>
   

void dma_free_buf(struct dma_buf *dmabufptr);

Description

dma_free_buf frees a DMA buffer descriptor that was used for DMA transfers on ISA, EISA, or MCA DMA channels.

Arguments


dmabufptr
Address of the allocated DMA buffer descriptor to be returned.

Return values

None.

Usage

The dmabufptr argument must specify the address of a DMA buffer descriptor previously allocated by dma_get_buf(D3).

Context and synchronization

All contexts.

Hardware applicability

PC-AT compatible platforms with ISA, EISA, or MCA buses

Version applicability

ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

Future directions

This interface is expected to be replaced or modified in a future release.

References

dma_get_buf(D3), dma_buf(D4)

``DMA'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005