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

dma_stop(D3)


dma_stop -- stop software-initiated DMA operation on a channel and release it

Synopsis

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

void dma_stop(int chan);

Description

dma_stop stops a software-initiated DMA operation in progress on the ISA, EISA, or MCA DMA channel chan. The channel is then released and made available for other use.

Arguments


chan
Channel on which DMA operation is to be stopped.

Return values

None.

Usage

The caller must ensure that it is acting on behalf of the channel owner, and that it makes sense to release the channel.

The caller must ensure that the channel is currently in use for software-initiated DMA transfers rather than hardware-initiated transfers.

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_swsetup(D3), dma_swstart(D3), dma_cb(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