blob: 52933fdb3b3c91f89c60c7c019a7b223e44f30c8 [file] [log] [blame] [view]
# zx_pci_cfg_pio_rw
## 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_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
<!-- Contents of this heading updated by update-docs-from-fidl, do not edit. -->
*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)