[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

d_map_disable Kernel Service

Purpose

Disables DMA for the specified handle.

Syntax

#include <sys/dma.h>

int d_map_disable(*handle)
struct d_handle *handle;

Parameters

handle Indicates the unique handle returned by d_map_init.

Description

The d_map_disable kernel service is a bus-specific utility routine determined by the d_map_init kernel service that disables DMA for the specified handle with respect to the platform.

Note
You can use the D_MAP_DISABLE macro provided in the /usr/include/sys/dma.h file to code calls to the d_map_disable kernel service.

Return Values

DMA_SUCC Indicates the DMA is successfully disabled.
DMA_FAIL Indicates the DMA could not be explicitly disabled for this device or bus.

Related Information

The d_map_init kernel service.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]