eisa_dma_enable(D3X)
eisa_dma_enable - enable recognition of hardware requests on a DMA channel
As shipped in IRIX 6.5.15. Last changed in IRIX 6.5.5.
NAME eisa_dma_enable - enable recognition of hardware requests on a DMA channel SYNOPSIS #include <sys/eisa.h> void eisa_dma_enable(uint_t adap, struct eisa_dma_cb, int chan, uchar_t mode); Arguments adap Bus adapter number (zero on an Indigo2). eisa_dma_cb Eisa DMA control block for the device. chan Channel to be enabled. mode Mode in which the channel is to be disabled. DESCRIPTION The eisa_dma_enable routine enables recognition of hardware requests on the DMA channel chan. After enabling the channel for a hardware initiated transfer, this function calls the procedure proc() from the command block used to program the DMA hardware start sequence. It will then sleep awaiting completion of the dma operation specified by the command block, depending on the value of mode. Note that mode must be EISA_DMA_NOSLEEP in Release 5.1. 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 also ensure that the channel is in use for hardware-initiated DMA transfers and not software-initiated transfers. Return Values None Level Base or Interrupt Notes Does not sleep