blob: 8e600d29bc741daca5a207fad595266bd11a38d6 [file] [log] [blame] [view]
<!-- Generated by zircon/scripts/update-docs-from-fidl, do not edit! -->
# zx_pci_cfg_pio_rw
## Summary
This function is obsolete and should not be used.
## Declaration
```c
#include <zircon/syscalls.h>
zx_status_t zx_pci_cfg_pio_rw(zx_handle_t handle,
uint8_t bus,
uint8_t dev,
uint8_t func,
uint8_t offset,
uint32_t* val,
size_t width,
uint32_t write);
```
## 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 have resource kind **ZX_RSRC_KIND_ROOT**.
## Return value
TODO(fxbug.dev/32938)
## Errors
TODO(fxbug.dev/32938)
## See also
TODO(fxbug.dev/32938)