blob: 21cd9afa7e129192929591b91b62de118acb0c16 [file] [log] [blame] [view]
# zx_pci_set_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_set_irq_mode(zx_handle_t handle,
uint32_t mode,
uint32_t requested_irq_count);
```
## 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_WRITE**.
## RETURN VALUE
TODO(fxbug.dev/32938)
## ERRORS
TODO(fxbug.dev/32938)
## SEE ALSO
TODO(fxbug.dev/32938)