Summary
This function is obsolete and should not be used.
Declaration
#include <zircon/syscalls.h>
zx_status_t zx_pci_query_irq_mode(zx_handle_t handle,
uint32_t mode,
uint32_t* out_max_irqs);
Description
This function is obsolete and should not be used. Drivers should instead use the PCI protocol
Typically, you obtain this in your bind()
function through device_get_protocol()
.
Rights
handle must be of type ZX_OBJ_TYPE_PCI_DEVICE
and have ZX_RIGHT_READ
.
Return value
TODO(https://fxbug.dev/42108078)
Errors
TODO(https://fxbug.dev/42108078)
See also
TODO(https://fxbug.dev/42108078)