ddi_slaveonly - tell if a device is installed in a slave access only location
#include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> int ddi_slaveonly(dev_info_t *dip);
Solaris DDI specific (Solaris DDI).
dip
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.
DDI_SUCCESS
DDI_FAILURE
The ddi_slaveonly() function can be called from user, interrupt, or kernel context.
Writing Device Drivers
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |