zx_pci_cfg_pio_rw

Summary

This function is obsolete and should not be used.

Declaration

#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_IOPORT.

Return value

TODO(https://fxbug.dev/42108078)

Errors

TODO(https://fxbug.dev/42108078)

See also

TODO(https://fxbug.dev/42108078)