blob: ead3c4c2e08d1ac8468b48a6375534963c818f96 [file] [log] [blame] [view]
# zx_pci_config_write
## 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_config_write(zx_handle_t handle,
uint16_t offset,
size_t width,
uint32_t val);
```
## 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_READ** and have **ZX_RIGHT_WRITE**.
## RETURN VALUE
TODO(fxbug.dev/32938)
## ERRORS
TODO(fxbug.dev/32938)
## SEE ALSO
TODO(fxbug.dev/32938)