blob: e8d246698e2c4ff37c12cbba7d8a1367f787ba1f [file] [log] [blame] [view]
# zx_pci_query_irq_mode
## SUMMARY
<!-- Contents of this heading updated by update-docs-from-fidl, do not edit. -->
This function is obsolete and should not be used.
## DECLARATION
<!-- Contents of this heading updated by update-docs-from-fidl, do not edit. -->
```c
#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
<!-- Contents of this heading updated by update-docs-from-fidl, do not edit. -->
*handle* must be of type **ZX_OBJ_TYPE_PCI_DEVICE** and have **ZX_RIGHT_READ**.
## RETURN VALUE
TODO(fxbug.dev/32938)
## ERRORS
TODO(fxbug.dev/32938)
## SEE ALSO
TODO(fxbug.dev/32938)