blob: 56071f9645910a3e09927ee7f41e33a6d6a5630c [file] [log] [blame] [view]
<!--
Copyright 2022 The Fuchsia Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
DO NOT EDIT. Generated from FIDL library zx by zither, a Fuchsia platform tool.
See //docs/reference/syscalls/README.md#documentation-generation for
regeneration instructions.
-->
# zx_pci_map_interrupt
## Summary
This function is obsolete and should not be used.
## Declaration
```c
#include <zircon/syscalls.h>
zx_status_t zx_pci_map_interrupt(zx_handle_t handle,
int32_t which_irq,
zx_handle_t* out_handle);
```
## 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(fxbug.dev/32938)
## Errors
TODO(fxbug.dev/32938)
## See also
TODO(fxbug.dev/32938)