dma_enable(D3) dma_enable(D3)
NAME
dma_enable - enable recognition of hardware requests on a DMA
channel
SYNOPSIS
#include <sys/dma.h>
#include <sys/ddi.h>
void dma_enable(int chan);
Arguments
chan Channel to be enabled.
DESCRIPTION
dma_enable enables recognition of hardware requests on the DMA
channel chan.
Return Values
None.
USAGE
The channel should have been programmed previously by
dma_prog(D3).
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_disable(D3), dma_prog(D3), dma_cb(D4)
NOTICES
Portability
AT-compatible architectures
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 1