eisa_dma_enable(D3X)
eisa_dma_enable - enable recognition of hardware requests on a DMA channel
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME eisa_dma_enable - enable recognition of hardware requests on a DMA channel SYNOPSIS #include <sys/eisa.h> void eisa_dma_enable(vint_t adap, init chan); Arguments adap Bus adapter number (zero on an Indigo2). chan Channel to be enabled. 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