|DDI_INTR_GET_SUPPORTED_TYPES(9F)||Kernel Functions for Drivers||DDI_INTR_GET_SUPPORTED_TYPES(9F)|
#include <sys/types.h> #include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> int ddi_intr_get_supported_types(dev_info_t *dip, int *typesp);
For PCI devices that support MSI and/or MSI-X based hardware, this interface returns only the interrupt types that are supported by all the hardware in the path to the hardware device.
An interrupt type is usable by the hardware device if it is returned by the ddi_intr_get_supported_types() function. The device driver can be programmed to use one of the returned interrupt types to receive hardware interrupts.
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
Writing Device Drivers
Soft interrupts are always usable and are not returned by this interface.
Any consumer of this interface should verify that the return value is not equal to DDI_SUCCESS. Incomplete checking for failure codes could result in inconsistent behavior among platforms.
|April 7, 2005||OmniOS|