dma_disable(D3) dma_disable(D3)
NAME
dma_disable - disable recognition of hardware requests on a
DMA channel
SYNOPSIS
#include <sys/dma.h>
#include <sys/ddi.h>
void dma_disable(int chan);
Arguments
chan Channel to be disabled.
DESCRIPTION
dma_disable disables recognition of hardware requests on the
DMA channel chan. The channel is then released and made
available for other use.
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 in use for
hardware-initiated DMA transfers and not software-initiated
transfers.
Level
Initialization, Base or Interrupt.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
dma_enable(D3), dma_prog(D3), dma_cb(D4)
NOTICES
Portability
AT-compatible architectures
Copyright 1994 Novell, Inc. Page 1
dma_disable(D3) dma_disable(D3)
Applicability
ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp
Future Directions
This interface is expected to be replaced or modified in a
future release.
Copyright 1994 Novell, Inc. Page 2