Query: ddi_slaveonly
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_slaveonly(9F) Kernel Functions for Drivers ddi_slaveonly(9F)NAMEddi_slaveonly - tell if a device is installed in a slave access only locationSYNOPSIS#include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> int ddi_slaveonly(dev_info_t *dip);INTERFACE LEVELSolaris DDI specific (Solaris DDI).PARAMETERSdip A pointer to the device's dev_info structure.DESCRIPTIONddi_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 VALUESDDI_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.CONTEXTddi_slaveonly() can be called from user or interrupt context.SEE ALSOWriting Device Drivers SunOS 5.10 24 Oct 1991 ddi_slaveonly(9F)