#include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h>int ddi_slaveonly(dev_info_t *dip);
Solaris DDI specific (Solaris DDI).
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.
The device has been installed in a slave access only location.
The device has not been installed in a slave access only location.
ddi_slaveonly() can be called from user or interrupt context.