Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Kernel Functions for Driversddi_slaveonly(9F)


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

 

ddi_slaveonly() 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

 

ddi_slaveonly() can be called from user or interrupt context.

SEE ALSO

 

Writing Device Drivers


SunOS 5.9Go To TopLast Changed 24 Oct 1991

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.