Content-type: text/html Man page of ddi_slaveonly

ddi_slaveonly

Section: Kernel Functions for Drivers (9F)
Updated: 16 Jan 2006
Index Return to Main Contents
 

NAME

ddi_slaveonly - tell if a device is installed in a slave access only location  

SYNOPSIS

#include <sys/conf.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>

int ddi_slaveonly(dev_info_t *dip);  

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI).  

PARAMETERS

dip A pointer to the device's dev_info structure.

 

DESCRIPTION

The ddi_slaveonly() function tells the caller if the bus, or part of the bus that the device is installed on, does not permit the device to become a DMA master, that is, whether the device has been installed in a slave access only slot.  

RETURN VALUES

DDI_SUCCESS The device has been installed in a slave access only location.

DDI_FAILURE The device has not been installed in a slave access only location.

 

CONTEXT

The ddi_slaveonly() function can be called from user, interrupt, or kernel context.  

SEE ALSO

Writing Device Drivers


 

Index

NAME
SYNOPSIS
INTERFACE LEVEL
PARAMETERS
DESCRIPTION
RETURN VALUES
CONTEXT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:38 GMT, October 02, 2010