blob: 64ae004950d357cb84b672444f713676d4b6ab39 [file] [log] [blame] [view]
<!-- Generated by zircon/scripts/update-docs-from-fidl, do not edit! -->
# zx_pci_set_irq_mode
## Summary
This function is obsolete and should not be used.
## Declaration
```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
*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)