Enables DMA for the specified handle.
#include <sys/dma.h>int d_map_enable(*handle)
struct d_handle *handle;| Item | Description | 
|---|---|
| handle | Indicates the unique handle returned by d_map_init. | 
The d_map_enable kernel service is a bus-specific utility routine determined by the d_map_init kernel service that enables DMA for the specified handle with respect to the platform.
| Item | Description | 
|---|---|
| DMA_SUCC | Indicates the DMA is successfully enabled. | 
| DMA_FAIL | Indicates the DMA could not be explicitly enabled for this device or bus. |